Command:If

From Lavish Software Wiki
Jump to navigation Jump to search

Syntax

if (condition) statement1
[else statement2]

Description

Conditionally executes a group of statements, depending on the value of an expression.

Examples

 if x == 5
 {
   if y == 6
     varset z 17
 }
 else
   varset z 20

See Also