void LogWarning(string)
Return Type: void
Parameters: string WarnMessage
Description:
This function displays a warning message with the text WarnMessage. This
will also increment the total warning counter. The message will show the
line number and the source of the warning. The source will be either the
‘Console’ or the script/function name.
Example
Code |
1 >>LogWarning("You have been warned...");
** WARNING: (1) from 'Console' on Line 1 - You have been warned...
2 >>disp(GetWarningCount());
1 |