Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter FourFlow Control (continued)

4.7 Conditionals

Programmatic decisions are perhaps one of the most important parts of any programming language. There are two practical methods of comparing values and then executing one or more statements based on whether the assertion is true or false. The first method is the if keyword and its associated else keyword. Alternatively, the switch keyword can also be used to conditionally execute particular blocks of code.

The following sections discuss conditional operations.

Conditional parsing (the #ifdef directive) is covered in Section 4.16 Directives.