Note: This is a work in progress and many formatting issues have been fixed. Read more about the project on the home page.
The multiple-statement if structure tests the specified condition and executes one or more statements if the condition is true. You use the optional else if or else form to run alternative blocks of code in case the condition following if is false.
Because each part of a complex if structure may contain more than one statement, you must have an end if statement at the end of the structure.
Any expression that evaluates to the HyperTalk and AppleScript constants true or false.
For example:
Any return-separated list of built-in commands, user-defined handlers, or keywords that are part of a message or function handler.