Action: Ifequal(A, B)

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

ifequal(A, B)

First defined in: FKiSS3
The ifequal begins a structured if-endif block.
For ifequal, the conditional block is executed if A is equal to B (i.e. A == B).

A

A may be a number or a variable.

B

B may be a number or a variable.

Example:

;@ ifequal(X, 1)     ; If X equals 1 then show "doll.cel".
;@   map("doll.cel")
;@ endif()