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:
- Unbalanced Parenthesis
- Invalid Character
- This Command is Not Supported in STNext
- Possible Invalid String Length
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.
Unbalanced Parenthesis
The script line contains a mismatched quantity of parentheses (missing ")" in the example below).
Invalid Character
The script line contains a character that is not allowed ("[" in the example below).
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).
Possible Invalid String Length
The script line contains a string value longer than 140 characters (the highlighted variable value in the example below).