IFTRUE IFT

Syntax

IFTRUE instructionlist

IFT instructionlist

Explanation

IFTRUE runs the instruction list if the most recent TEST operation is TRUE. If the TEST operation is FALSE, IFTRUE does nothing. See also IFFALSE.

Examples

? TEST 5 = 5

? IFTRUE [PR [YES, IT IS]

YES, IT IS

? TEST 5 = 6

? IFTRUE [PR [YES, IT IS]

?