Spaces in FileMaker Variable Names

December 5, 2010

I just came across an interesting little FileMaker quirk. The "Set Variable" script step does not allow you to begin the variable name with a space. But you can declare variables with the Let Statement can also declare variables and they can start with a Space.

For example:

If you try to use the "Set Variable" script step to declare this variable "$$ StartedWithSpace", it will not let you. However if you evaluate the following Let Statement:

Let( [ $$ StartedWithSpace = "this will work" ]; 0 )

It will work just fine.

While this is strange, I am not sure that it useful. In fact my gut tells me it is a bad idea to have variable names start with a space. So I am going to avoid them.

Contributors
Subscribe to newsletter
By subscribing you agree to with our Privacy Policy.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Related posts