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. Refer to Error codes for
a complete listing of error code descriptions.
- Remarks
- When the ReadScreen function returns, the BufferStr variable
contains the host screen data.
- Example
Set bzhao = CreateObject( "BZWhll.WhllObj" )
bzhao.Connect "A"
bzhao.ReadScreen Buf, 10, 7, 16
bzhao.MsgBox "Buf is " & Buf, 0