Script File Validation Errors

  • Updated
Download Icon Download

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:

_STNext-Scripts-ValidationErrorsMessage.png

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.

_STNext-Scripts-ValidationErrors-Edit.png

_STNext-Scripts-EditScript-ValidationErrors.png

No Valid Expression to Process

The script line contains an invalid command syntax (missing command prompt (=>) on line 1 in the example below.)

_STNext-Scripts-ValidationError-NoValidExp.png

Invalid Label

The script contains an invalid label (mismatched spelling of "SUBROUTINE" between lines 2 and 5 in the example below).

_STNext-Scripts-ValidationError-InvalidLabel.png

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).

_STNext-Scripts-ValidationError-PossibleInvalidCommand.png

Missing End Quote

The script line is missing a beginning or ending quote (before "PLEASE" in the example below).

_STNext-Scripts-ValidationError-MissingEndQuote.png

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).

_STNext-Scripts-ValidationError-VariableLength.png