message | A string expression containing the warning message to display. |
The #WARNING statement displays the message in the workunit and/or syntax check. This statement may be used outside an XML scope and does not require a previous LOADXML to instantiate an XML scope.
Example:
a := TRUE; // pick one of these
//a := FALSE;
#IF(a)
#ERROR('broken');
OUTPUT('broken');
#ELSE
#WARNING('maybe broken');
OUTPUT('maybe broken');
#END;
See Also: #ERROR