3.2.7 Checking script syntax
To check the syntax of a completed script file:
-
Choose Monitoring, Syntax Check.
Editor is set to monitoring mode and the syntax check starts.
The screen darkens momentarily.
(Window display while the syntax check is in progress)
(Window display at syntax check completion)
Any syntax errors that are found appear in an Error window.
-
Check the contents of the Error window.
- Notes
-
-
The Syntax Check command is disabled when Script Editor is in monitoring mode.
-
If you attempt to check the syntax of an unnamed script file, the Save As dialog box appears. You must save the file before you can perform the syntax check.
-
If you have edited the script file, the syntax check is performed on the updated contents, but the updates are not saved.
-
For details on performing a syntax check in the command line, see 6.2.5 Command line syntax check.
-