if

Command: if


Synopsis

boolean {procedure} if -> -
boolean anytoken if -> -
Description
if executes the supplied token if the boolean
is true. The supplied token usually is a procedure.

Alternatives: Function if_ (undocumented)
-> behaviour and synopsis are the same except that no
warnings or error messages are thrown.

File
sli/slicontrol.cc
Examples
1 0 gt { (1 > 0) = } if -> (1 > 0)

SeeAlso