WaitForString

<< Click to Display Table of Contents >>

Navigation:  Quick3270 functions and statements >

WaitForString

Description

Waits until the specified text appears on the specified screen location.
Search string is case-sensitive.

Syntax

Boolean WaitForString(str, row, col, [optional] TimeOut)

 

Parameters

Part

Type

Description

str

String

Required. The text string that you want to wait for.

row

Integer

Required. The row where you expect the string to appear.

col

Integer

Required. The column where you expect the string to appear.

TimeOut

Integer

Optional. Specifies the maximum length of time in milliseconds to wait.
The default is 30 second or the value set by SetTimeoutValue.

Returns

The function returns True if the condition is met or False if the Timeout value is exceeded.