Difference between revisions of "Command:Else"

From Lavish Software Wiki
Jump to navigation Jump to search
Line 18: Line 18:
 
*[[LavishScript:Commands|Commands]]
 
*[[LavishScript:Commands|Commands]]
 
{{Command-Stub}}
 
{{Command-Stub}}
 +
[[Category:LavishScript]]
 +
[[Category:LavishScript Commands]]

Revision as of 22:30, 25 May 2005

Syntax

Command Difficulty Rating
Else
Usage Beginner
Level of Understanding Intermediate
Computer Savvy Beginner
Logic Intermediate

Else

Description

Else can be used in conjunction with If to do something when the conditions were not met.

Examples

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

See Also