sometimes

Description

Analogous to if statements in other languages. Often used in conjunction with othertimes.

Syntax

sometimes (condition) {
 // statements
}

where condition is the condition that, if true, allows the statements within the block to be executed.

Usage

possibility: favenumber = 72;
sometimes (favenumber > 70) {
  // statements
}

The condition given is favenumber > 70, which evaluates to 72 > 70, which is true. This means the statements within the code block will be executed.

Examples

See Also