Difference between revisions of "Command:If"

From Lavish Software Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
== Syntax ==
 
== Syntax ==
if (condition)
+
if (condition) statement1<BR/>
  statement1
+
[else statement2]
[else
 
  statement2]
 
  
 
== Description ==
 
== Description ==

Revision as of 20:17, 1 March 2005

Syntax

if (condition) statement1
[else statement2]

Description

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

Examples

See Also