Action: Ifnotequal(A, B)

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

ifnotequal(A, B)

First defined in: FKiSS3
The ifnotequal begins a structured if-endif block.
For ifnotequal, the conditional block is executed if A is not 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:

;@ ifnotequal(X, 1)     ; If X does not equal 1 then show "doll.cel".
;@   map("doll.cel")
;@ endif()