- Always use a single space between the ampersand and the concatenated parts to improve readability.
"foo" & $bar
good
myFunction &$$globalVariable
bad
- Exception Note: When simply adding a single carriage return using the pilcrow, you can combine the elements together. This simply reduces the number of spaces. This does not apply to how many lines are used for concatenation. It's simply a guideline to reduce the amount of spaces and indicate, on the next line, what is being concatenated.
Historically, FileMaker always required the use of quotes around a single ¶. As soon as more than one ¶ is used, then quotes are required.
Get ( AccountName ) &¶ & Get ( CurrentTimeStamp )
good
Get ( AccountName ) & ¶ & Get ( CurrentTimeStamp )
good
Get ( AccountName ) &¶& Get ( CurrentTimeStamp )
good
Get ( AccountName ) & ¶
bad
& "¶¶" &
good
&"¶¶"&
bad