Loading

DEFINEDMACRO

logic control

The DEFINEDMACRO function checks if a macro is defined and pushes true or false on the stack accordingly.

DEFINEDMACRO is available since version 1.0.16.

See also

Signatures

Examples

// Define a macro with the name 'mymacro' <% NOW %> 'mymacro' STORE // Test if macro exists 'mymacro' DEFINEDMACRO // true 'myundefinedmacro' DEFINEDMACRO // false