Execute by MultiCode
Scripts which need paramter values should by executed by MultiCode because it will ask for the values to be passed to the script. After execution MultiCode will display the return value (function) or if an error occured will display a detailed error message containing:
- Error number
- Error description
- Code line where the erro occured
- Detailed error position (row/column)
All scripts that are declared as Function or Sub can be executed by MultiCode.
Execute by WSH
Script code without any declaration as function or sub should be executed by the WSH.
If your script accesses HTML elements or needs a HTML page to work properly it should be of course executed by a browser.