#WARNING

#WARNING( message );

messageA 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:

  #IF(TRUE)
    #ERROR('broken');
    OUTPUT('broken');
  #ELSE
    #WARNING('maybe broken');
    OUTPUT('maybe broken');
  #END;

See Also: #ERROR