8. Program Editor: Check the Syntax of a Script

Procedure

  1. 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.
  2. 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.

  3. Correct the syntax error.
  4. Repeat the procedure until you have found and corrected all syntax errors.