Action: Iflessthan(A, B)

Related Actions: ifequal, ifnotequal, ifgreaterthan, else, elseifequal, elseifnotequal, elseifgreaterthan, elseiflessthan, endif
See also: FKiSS, Events, Actions

iflessthan(A, B)

First defined in: FKiSS3
The iflessthan begins a structured if-endif block.
For iflessthan, the conditional block is executed if A is less than B (i.e. A < B).

A

A may be a number or a variable.

B

B may be a number or a variable.

Example:

;@ iflessthan(X, 0)     ; If X is less than 0 then show "doll.cel".
;@   map("doll.cel")
;@ endif()