Difference between revisions of "Error"
m (→Examples) |
|||
Line 6: | Line 6: | ||
= Function Error(message) = | = Function Error(message) = | ||
− | + | Reports an evaluation-time error, displaying the indicated «message» to the end user in a dialog box and ending the current computation. | |
− | If [[Error]]() is called from inside a [[Check Attribute]], it | + | If [[Error]]() is called from inside a [[Check Attribute]], it displays the message as a warning dialog, replacing the standard failed-check message. |
= Examples = | = Examples = |
Revision as of 18:04, 18 January 2010
Function Error(message)
Reports an evaluation-time error, displaying the indicated «message» to the end user in a dialog box and ending the current computation.
If Error() is called from inside a Check Attribute, it displays the message as a warning dialog, replacing the standard failed-check message.
Examples
If not IsNumber(x) Then Error("Something is wrong. x is not numeric."); ...
See Also
Comments
Enable comment auto-refresher