Loading

CLEARDEFS

stack
Configuration parameters

The CLEARDEFS function allows you to clear all redefined WarpScript functions.

By default, all redefined WarpScript function, will not be available anymore. Set the warpscript.def.unshadow configuration property to change this behaviour.

This configuration parameter determines if undefining a function (via NULL 'XXX' DEF) will unshadow the original statement thus making it available again or if it will replace it with a function that will fail with a message saying the function is undefined. The safest behavior is to leave this undefined or set to false.

CLEARDEFS is available since version 1.0.0.

See also

Signatures

Examples

<% 'yesterday' %> 'NOW' DEF NOW CLEARDEFS NOW