Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Some sample scripts to assist you to write scripts can be found in the Script Examples section of this help file.

...

The command can be any command listed in the List of Supported Commands. This is always a single word which can be followed by zero to four parameters, depending on the command. The parameters should be enclosed by the delimiter character which is the double quote (") by default. This can be changed by using the Delimiter comand.

 

Search conditions for conditional commands (if, do, dowhile) can be reversed by using ‘!’ in front of the condition, e.g.

...

The maximum number of characters that can be stored in a variable (see var, varprompt and varextract commands) is limited to 256 characters.

...

Commands that require conditions (do. . . while, dowhile, if. . . else. . . endif) must use the SEARCH command for the condition. The reason for this is that only the SEARCH command returns a TRUE or FALSE value, all other commands do not return a value, or they wait until the condition is TRUE, like the LOOKFOR command. For obvious reasons, if a command does not return a value, or it always returns TRUE, it can not be used in conditional statements.

...