ReadScreen

Retrieves data from the host screen.

Parameters:

BufferStr  -  Variable to contain host screen data.

LengthVal  -  Number of characters to read.

RowVal  -  Row position.

ColumnVal  -  Column position.

Returns:

0 for success; or a non-zero error code.  See Error Codes for a complete listing of error code descriptions.

Remarks:

When the ReadScreen function returns, the BufferStr variable will contain the host screen data.

Example:

Set Host = CreateObject( "BZWhll.WhllObj" )

 

Host.Connect "A"

Host.ReadScreen Buf, 10, 7, 16

Host.MsgBox "Buf is " & Buf, 0