SearchPS

<< Click to Display Table of Contents >>

Navigation:  Quick3270 functions and statements >

SearchPS

Description

Search in the presentation space for the provided string.

Syntax

Boolean SearchPS(Token [,address])

 

Parameters

Part

Type

Description

Token

String

Required. String to search for.

row

Integer

Optional. Presentation Space location from where to search the token

Remark

Similar to the HLLAPI SearchPS

 

Sample

  nAddress = SearchPS(".PAM2")

  nRow = ConvertRow(nAddress)

  nCol = ConvertCol(nAddress)

  Message = ".PAM2 found at Row " + Str$(nRow) + ", Col " + Str$(nCol)

  rc = msgbox(Message , vbokonly + vbExclamation, "SearchPS Test")

Exit