#ASSERT (evaluate assumption) 

Top  Previous  Next


#ASSERT( condition [, message ] )


Evaluates assumptions to detect unexpected errors.


An expression that should always evaluate as true.


A string constant containing the text to display if the condition is not true. If omitted, the text of the condition is displayed.

#ASSERT evaluates assumptions to detect unexpected errors. #ASSERT evaluates the condition expression and displays the message if the condition is not true. This allows you to test the veracity of any programming assumptions you are making at any point in your template code.


#ASSERT(%False)                    #!Displays '%False'

#ASSERT(%False, 'Message Text')    #!Displays 'Message Text'