SHIP:Sail:Flow Control:else

From Serious Documentation
Jump to: navigation, search

See Also

else

Branch control to follow the false branch of execution.

Statement Description
else Code execution for the false expression path of the if statement.

Example

if (expresstion)
   statement;
else
   statement;

or

if (expression) {
   statement 1;
   ...
   statement n;
}
else {
   block of statements;
}