And to be accurate, as explained on the other forum: it's not a "Macro"
FM has reserved keywords and internally they are represented as numbers. Most environements do this under some name or other, "named constants" is often used.
Thanks, coherentkris for the valuable link.
Thanks, Wimdecorte for your clarification. Its almost 4yrs+ experienced in FileMaker development and I never seen in any FileMaker guide where these attributes are mentioned. There should be some sectiones in FileMaker guide on these things so that new developer should aware of these things.
Manjit Behera wrote:
So be aware of using such texts like OTHER, while doing scripting in FileMaker.
If it's not a string, it's a reference to a field or a variable; so why would you ever reference other (or 'other' keywords) without quotes unless you defined it yourself beforehand? And that's no problem either, it may just be confusing:
Let ( other = 2 ; other )
On the 'other' hand …,
other + Let ( other = 2 ; other )
The only thing to watch out for is using variables in Let() that you forgot to declare AND which happen to be keywords as defined by FMI, since you'd get no syntax error on saving the calculation, just a buggy result. Not a likely scenario IMO, except for calcs with reaaaaally long Let() declaration sections …