GetString

Description

Returns a string from the PASSPORT terminal emulation screen

Syntax

ret = GetString (row, column, length)

Parameters

ret

String, output

 

The string to contain the data read from the PASSPORT screen.

 

 

row

Integer, input

 

The starting row position in the PASSPORT screen.

 

 

column

Integer, input

 

The starting column position in the PASSPORT screen.

 

 

length

Integer, input

 

The number of characters to read.

Remarks

This function reads a string from the PASSPORT terminal emulator screen at the specified position. Row 1 column 1 indicates the home position in the upper left corner of the screen.

In the example, a 10 character string is read from the PASSPORT terminal emulator screen position row 1 column 1 and returned in the text variable called nString.

This is a PASSPORT function.

Example

Sub ZMain()
Dim strText, nRet
Dim nString
nString = GetString (1,1,20)
strText = "Text String = " & nString
nRet = MsgBox (strText, 0, "Text String")
End Sub