The body of the script code is edited in the Script Editor screen that is displayed when creating a new script or when selecting the Edit text… button on an existing script.
Note:
Scripts are limited to a maximum of 1 million characters.
Script execution begins in the function or subroutine named DSMain. The script editor provides a shell of this subroutine when creating a new script object.
The editor interface also provides a mechanism for jumping to a given line of the code. This may be helpful for debugging purposes if the script engine reports an error on a certain line of the script at runtime.
Note:
For additional information on VB script options, see the API documentation.