Difference between revisions of "Command:If"

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

Revision as of 20:16, 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