IFTE


flow
Since v1.0.0
Available on all platforms
See also

The IFTE function is a conditional construct which evaluates a condition and executes one of two macros depending on the condition (true or false). The condition can either be a BOOLEAN value on the stack or a macro which will be executed and must leave a BOOLEAN on the stack.

Signature

Examples

NOW 2 % 0 == <% 'even' %> <% 'odd' %> IFTE