scriptParsingError | |||||||
Type | message | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | |||||||
Introduced | 1.0 | ||||||
Changes | The errorContents parameter was introduced in version 1.1. In previous versions, this information was stored in the scriptError property. *Note:* The scriptParsingError message is no longer sent. Instead, any parse error is now put into the result immediately after setting the script of an object. | ||||||
Deprecated | 6.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Parameters |
| ||||||
Related | Property: lockErrorDialogs, script Message: errorDialog Function: format Glossary: object, handle, handler, error, message, execution error, compile, compile error | ||||||
Description | Handle the scriptParsingError message to prevent the standard error window from appearing, when you want to handle the error in a custom handler. The scriptParsingError message is sent when a compile error occurs. If the script contains an execution error, the errorDialog message is sent instead when the handler containing the error attempts to run. A list of possible compile errors is contained in the "cScriptErrors" property of the first card of the stack "revErrorDisplay". You can view the list with the following statement:
|