Script Indenting is confused by commented If and End If script steps

Discussion created by Malcolm on Nov 1, 2015
Latest reply on Nov 3, 2015 by Fred(CH)

Product and version:

FileMaker Pro Advanced 14.0.3


OS and version:

Mac OS X 10.10.5



the indenting is based on all the If and End If script steps, even when some of those script steps are comments. The indenting error does not affect the correctness of the scripts.


How to replicate:

Create a script and insert several nested if/end if blocks. Delete one of the End If steps and comment one of the If steps. The active If/End If steps should be in balance, however, the script indentation does not reflect this.




None required, though the error in indentation is confusing and may cause the developer to make errors.

Do not comment out if / end if script steps.

Balance the commented if / end if script steps.

Remove the commented if / end if  script steps.