Error
Simulates a program error. This is useful to test your script's error handling. To do this, simply write the Error command after the command for which you want to simulate erroneous execution. (To simulate a lost connection you can use Disconnect instead).
See also: OnError, Transaction, Disconnect
Example:
Connect ...
PutMove "sales.dat"
Error
...
← Back to Script Commands