PSSearch

Performs a case-sensitive search for an occurrence of text in the host screen.

Parameters
SearchStr
The text to search for.
StartPosVal
The position in the host screen to begin the search.
Returns
The position in the host screen where the text was found, or 0 if not found.
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
result = PSSearch( "Logon", 1 )
If ( result ) Then
   MsgBox "Logon found at position " & result
Else
   MsgBox "Logon not found"
End If