ifElse

Help Contents Conditional execution ifElse
if ifTrue

ifElse tf instructionlist1 instructionlist2


command or operation. If the first input has the value TRUE, then IFELSE runs the second input. If the first input has the value FALSE, then IFELSE runs the third input. IFELSE outputs a value if the instructionlist contains an expression that outputs a value.

Examples:

ifElse true [pr true][pr false]		;true
ifElse false [pr true][pr false]		;false

See also:

Examples:

References:

if ifTrue