Error getting tags :
error 404Error getting tags :
error 404 else | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
else
Basics
Expander triangle
Type
Keyword
Syntax
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Used within an if control structure to contain statements to be performed if the condition is not true.
Examples

if it is the date then insertDate else removeDate

Additional Comments
Expander triangle

Use the else keyword to perform an alternative action within an if control structure.

Comments:

If the condition on the first line of the if control structure is false, the statement or statement list after the else keyword is executed instead of the statements in the main portion of the if control structure. The else section is optional in an if control structure.

Depending on the exact form of the if control structure being used, the else keyword may be on the same line as the rest of the if structure, on the same line as the statement to be executed, or on a line by itself.

User Comments
Expander triangle