Wait - wait for the specified number of milliseconds

Return to Introduction  Previous page  Next page

wait(milliseconds)

Where:

millisecondsis the number of milliseconds script processing should wait before continuing with the next command. milliseconds may be a variable containing the number of milliseconds.

 

The wait command pauses script processing for the specified number of milliseconds. If you wish to wait for a host response before continuing script processing, the wait command may not be the best choice. Since response times are difficult to predict and inconsistent, the wait must be long enough for the longest possible response. This is not very efficient. It may be better to use WaitFor or AskFor to pause the script.

Examples

 

wait(1000)

wait(2000)

wait($TIME)

 

See Also:

 

Script Command Summary

Script Variables

Using the Scripting Language


TN3270 Plus is continually being improved. To learn more about the latest enhancements, please review our Version History web page.