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 EMReadScreen function returns, the BufferStr variable contains the host screen data.
- Example
EMConnect "A"
EMReadScreen Buf1, 10, 7, 16
MsgBox "Buf1 is " & Buf1, 0