When a script file is imported or uploaded and has one or more of the below error types, a "Validation Errors" message displays and the Run button is inactive:
- No Valid Expression to Process
- Invalid Label
- Possible Invalid Command
- Missing End Quote
- Variable Length Greater Than 20
To display the error type and the line number where it occurs, click the ellipsis (...) icon, select Edit, and then click the Validate button in the Edit Script window. Lines with errors are shaded in red.
No Valid Expression to Process
The script line contains an invalid command syntax (missing command prompt (=>) on line 1 in the example below.)
Invalid Label
The script contains an invalid label (mismatched spelling of "SUBROUTINE" between lines 2 and 5 in the example below).
Possible Invalid Command
The script line contains a syntax error that invalidates the line command ("ABEL" should be "LABEL" and is invalidating the GET command in the example below).
Missing End Quote
The script line is missing a beginning or ending quote (before "PLEASE" in the example below).
Variable Length Greater Than 20
The script line contains a variable whose name exceeds the 20-character after the underscore limit (highlighted variable on line 2 in the example below).