When you try to run or debug a script whose syntax has not been checked, the Program Editor first performs a syntax check automatically.
Do the following to perform a syntax check manually without running the script.
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 Enter on the keyboard.
button or pressIf 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.
Edit programs. |