XojoScriptAlreadyRunningException

From Xojo Documentation
Jump to: navigation, search

Class (inherits from RuntimeException)

Occurs if the user tries to modify an XojoScript's source code while it is running or you try to change the Context object while the script is running. Don't do this.

Example

To use XojoScriptAlreadyRunningException, add an Exception block where the XojoScript can be called.

Sub ...


Exception err
If err IsA XojoScriptAlreadyRunningException then
MsgBox "Tried to call an Xojocript while it is running!"

End if


See Also

XojoScript class; Exception, Try statements.

Personal tools
Namespaces

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