Difference between revisions of "Command:Else"

From Lavish Software Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== Syntax ==
+
#REDIRECT [[Control:If..Else]]
{{CMD-DR|Else|Beginner|Intermediate|Beginner|Intermediate}}
 
Else
 
 
 
== Description ==
 
Else can be used in conjunction with [[Command:If|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 ==
 
*[[LavishScript:Commands|Commands]]
 
{{Command-Stub}}
 
[[Category:LavishScript]]
 
[[Category:LavishScript Commands]]
 

Latest revision as of 02:36, 13 September 2005

Redirect to: