Comments

Writing comments in your scripts to explain how they work can save you time and frustration when you later need to modify the script. The apostrophe character ( ' ) signals the start of a comment. Scripter ignores all text following the apostrophe up to the end of the line. Comments can be placed on their own line, or they may be placed at the end of a line.

Example

GrapherApp.Left = 60'Set the Left location of the Grapherwindow

In addition, you can use the REM statement to add a remark in the script. However, REM statements can only be used at the beginning of a line.

See Also

Scripter BASIC Language

Object Hierarchy

Object List