DynamoDS / Dynamo

Open Source Graphical Programming for Design
https://dynamobim.org
Other
1.74k stars 634 forks source link

Wish: Make formula node case-insensitive #195

Closed andydandy74 closed 11 years ago

andydandy74 commented 11 years ago

As a Revit user I am used to writing functions in formulas with lowercase letters. The Dynamo formula node seems to prefer capital initial letters for functions. That's a bit counter-intuitive... unbenannt

Steell commented 11 years ago

I have a fix ready, will be added to the repo this evening.

andydandy74 commented 11 years ago

Will this only be available in 0.6.0? Because this behaviour is still present in today's build (Build 0.5.1.19918).

Steell commented 11 years ago

It will be in the next build.

dbaldacchino commented 11 years ago

I'm on 0.5.2.19909 and the Formula node does not recognize "AND", "OR", "And", "Or" etc. unless typed in lower-case. I would expect it to be case-insensitive and not throw a "missing EOF at..." error.

Steell commented 11 years ago

Looks like an NCalc limitation: "and" and "or" must be lowercase in order to work.

Steell commented 11 years ago

fixed in 27efe1207a8176e39170350058aab38f025222ee