SHIP:Sail:Flow Control:else

From Serious Documentation
Revision as of 12:28, 3 October 2016 by CarltonHeyer (talk | contribs) (Created page with "== See Also == *Sail Home *Flow_Control == {{SHIP:Sail:Flow_Control|else}} == <onlyinclude>Branch control to follow the {{Reserved|fa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

See Also

Template:SHIP:Sail:Flow Control

Branch control to follow the false branch of execution.

Statement Description
Template:Flow Control 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;

}