|
%bool() Function |
|
|
%bool() function is used to convert the result of the given expression to a Boolean. Syntax: %bool(expression [, default-value])
Example: %doif( bool(ACTIVE,false) ) .. %doend()
In the example if the ACTIVE symbol contains a Boolean value then it, otherwise false will be returned from the bool() function. |