Rewind command

Used in a Server.Load script to restart the script file, if one is given, up to a maximum of n iterations, if n is specified.

If the script contains a BeginLoop statement, the next command executed is the one immediately following the BeginLoop. Otherwise, the next command executed is the first command in the script. If n is not specified, the Rewind command is executed indefinitely.

Syntax

Rewind <n>

Where:

  • <n> -- Number of times to restart the script