SHIP:Sail:Flow Control:if

From Serious Documentation
Jump to: navigation, search

See Also

if

Branch control to follow one branch of execution or another.

Statement Description
if Takes an expression, which resolves to a true or false value. Code execution branches according to the resolved expression.

Example

if (expression) statement;

or

if (expression) {
   statement 1;
   ...
   statement n;
}