8. Program Editor: Check the Syntax of a Script
Procedure
-
Do one of the following.
- Click Compile on the Application toolbar.
- Click File>Compile on the Program Editor menu bar.
The Program Editor does one of the following.
- Reports that no errors have been found
- Displays an error message that specifies the first line in your script where an error has been found and briefly describes the nature of that error.
-
Click the OK button or press Enter on the keyboard.
If Program Editor has found a syntax error, the line containing the error is highlighted on your display.
- Correct the syntax error.
- Repeat the procedure until you have found and corrected all syntax errors.