| Prev | Next | Basic Verbs > scriptError |
scriptError
| Syntax |
scriptError (string)
|
| Params |
string is a string containing the error message you wish to display when this statement is encountered.
|
| Action |
Terminates processing of the script and displays string in the Frontier error information window.
|
| Returns |
False because it terminates the script in which it is used.
|
| Examples |
scriptError ("Can't run this -- it tried to trash your hard disk.") » true
|
| Notes |
scriptError uses the same error-reporting mechanism as Frontier's interpreter. This verb permits you to define verbs so that they report errors the same way as Frontier's built-in verbs do. This makes use of your custom verbs transparent to the user.
|
| See Also |
try
|
| Prev | Next | Basic Verbs > scriptError |