PostWarning
int PostWarning (string message )
Return Value: 0
Arguments:
message | message to post to the user |
This function should only be used in scripts, to communicate with the user. You can use this to let the user know that something in the script has gone wrong (i.e. an expected value was not correct, divide by 0, object not found etc.).
PostWarning should be used when the problem in the script is not fatal (i.e. the scripts can finish executing), but you want to let the user know that something has gone wrong and there might be problems with the final result of the script. If the problem is big enough to cause the script to abort then you should let the user know by calling PostError with a description of the problem.
Note: All messages, warnings and errors are posted to messiah's message window (to the right of the command prompt). A message history is maintained in File->Messages.
Converted from CHM to HTML with chm2web Pro 2.82 (unicode) |