PSGetText

Reads text from the host screen into a variable.

Parameters
LengthVal
The number of characters to read.
PositionVal
The position in the host screen to start reading.
Returns
String containing the text.
Remarks
The screen position starts at 1 in the upper-left corner of the window (row 1, column 1), and ends at the bottom-right of the window (max row times max column). For example, for a Model 2 - 24 x 80 screen, the last position is 1920.
Example
Set bzhao = CreateObject("BZWhll.WhllObj")
bzhao.Connect
TextVar = bzhao.PSGetText( 5, 34 )
MsgBox TextVar