- Use a single space between function name and opening parenthesis as well as between separating semicolons and within parentheses.
This facilitates easy selections within both Windows and Macintosh when double-clicking to highlight
Function Name ( with ; parameters )
Function Name(with; parameters)
- Do not use a space at the end of lines of code closed by the semicolon.
- Empty or no-parameter based custom functions can take the optional opening and closing parentheses despite FileMaker's ability to accept calculation code without them. Doing so does increase readability and enforces proper syntax checking by FileMaker when a similarly named variable, global or field may conflict.
Note: certain custom functions, such as Null are Reserved elements and do not need to follow this convention.
Let ( ~something = FunctionName () ; ~something )
Let ( ~something = FunctionName ; ~something )