Talk:Expressions: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
Line 1: Line 1:
== Related forum posts ==
* PR #2475: Expression syntax extension [https://forum.freecadweb.org/viewtopic.php?f=27&t=38974]
* "Name (optional)" field in sketcher accepts any string [https://forum.freecadweb.org/viewtopic.php?f=8&t=54320&p=467039#p467039]
* space character [https://forum.freecadweb.org/viewtopic.php?t=32437]

== Freeform discussion ==

@Uwestoehr: Good catch, there are indeed many more characters allowed. If you give a negative list, then please extend it to other non allowed characters as well, mainly of course the frequently used blank, but there are of course many more. We have recently even seen that some Korean characters can create problems, so we should consider if it wouldn't be better to give a positive list. If not, please list or describe the characters to be excluded.
@Uwestoehr: Good catch, there are indeed many more characters allowed. If you give a negative list, then please extend it to other non allowed characters as well, mainly of course the frequently used blank, but there are of course many more. We have recently even seen that some Korean characters can create problems, so we should consider if it wouldn't be better to give a positive list. If not, please list or describe the characters to be excluded.



Revision as of 11:13, 29 January 2021

Related forum posts

  • PR #2475: Expression syntax extension [1]
  • "Name (optional)" field in sketcher accepts any string [2]
  • space character [3]

Freeform discussion

@Uwestoehr: Good catch, there are indeed many more characters allowed. If you give a negative list, then please extend it to other non allowed characters as well, mainly of course the frequently used blank, but there are of course many more. We have recently even seen that some Korean characters can create problems, so we should consider if it wouldn't be better to give a positive list. If not, please list or describe the characters to be excluded.

I had a look, and really everything is possible as object label, e.g. "Tab üß$" works. Only the operator characters are not working and that becomes clear when looking at the expression code. There is however the issue that for the alias of table cells, one cannot use spaces or umlauts -> I'll bring this to the list because it seems to be a bug.--uwestoehr (talk) 18:10, 20 January 2021 (UTC)
forum thread: https://forum.freecadweb.org/viewtopic.php?f=3&t=54586 --uwestoehr (talk) 18:23, 20 January 2021 (UTC)