Script File Validation Warnings

  • Updated
Download Icon Download

When a script file is imported or uploaded and has one or more of the below warning types, a "Validation Errors" message displays and the Run button is inactive:

_STNext-Scripts-ValidationErrorsMessage.png

To display the warning 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 warnings are shaded in yellow.

_STNext-Scripts-ValidationErrors-Edit.png

_STNext-Scripts-EditScript-ValidationErrors.png

Unbalanced Parenthesis

The script line contains a mismatched quantity of parentheses (missing ")" in the example below).

_STNext-Scripts-ValidationError-UnbalancedParens.png

Invalid Character

The script line contains a character that is not allowed ("[" in the example below).

_STNext-Scripts-ValidationError-InvalidCharacter.png

Valid characters:

A-Z a-z ( ) ? -
^ | + * .

This Command is Not Supported in STNext

The script line begins with a command that is not supported in STNext ("PRINT" on line 2 in the example below).

_STNext-Scripts-ValidationError-CommandNotSupported.png

Possible Invalid String Length

The script line contains a string value longer than 140 characters (the highlighted variable value in the example below).

_STNext-Scripts-ValidationError-StringLength.png