XojoScript.CompilerError

From Xojo Documentation
Jump to: navigation, search
Event


XojoScript.CompilerError(location As XojoScriptLocation, error As XojoScript.Errors, errorInfo As Dictionary) As Boolean

This event gets called if the script could not be compiled due to a syntax error in the code. Return True to stop the compilation and prevent further errors/warnings.

Notes

XojoScriptLocation contains information about the location in the script containing the error.

Scripting Errors shows the enumeration for all the available error messages.

The errorInfo Dictionary keys are not stable nor are they guaranteed to always be present. You should explicitly use Dictionary.Lookup or Dictionary.HasKey when looking up these values.

Personal tools
Namespaces

Variants
Actions
Main
Content
Starting Out
Dig Deeper
More Help
Toolbox
About