Postfix operator with numbers
tonka3000 opened this issue ยท 2 comments
tonka3000 commented
Hey,
it seems that a postfix operator with a number is not possible. I try to model 2cm2
, but I always get an error. 2cm
works great ๐ .
Is there any way to get this working in muparser?
muparser: 2.2.6.1
Greetings
Michael
beltoforion commented
I guess it's technically possible by adding numbers to the operator character set using DefineOprtChars. This will also allow them in binary operators which will introduce some parsing ambiguities when actually used in binary operators.
tonka3000 commented
Thanks for your answer, it works ๐