SeeView Manual

SeeView Statements and Script Symbols
HP NonStop SeeView Manual526355-004
9-95
SEARCH
CACHE
specifies that the cache search target follows:
[ + | - ]
specifies whether the search is forward + (top-down and left-to-right search), or
backward - (bottom-up and right-to-left). + is the default search direction.
target
specifies the search target string. For the target string, you can use either a
string expression that consists of string variables, string literals or both, or
literal text delimited by a pair of slash or backslash characters such as /target/
or \target\.
If the target is found, the integer variables specified by line (and optionally
col) are set to the cache line (and column) where the target was found. If the
target is not found, the line (and optionally column) are set to a minus 1 (- 1)
value.
-> line [, col ]
specifies integer variables to be set to the line and column numbers where
target was found.
line
specifies an integer variable that is set to the value of the ordinal cache line
number where target was found. Integer values for line are zero
relative, so a line value of zero is the first line of cache.
col
specifies an integer variable that is set to the value of the column number
where target was found. Integer values for col are 1 relative, so a
column value of 1 is the first character in the line.
LINEFOUND string-var
assigns a string variable, string-var, to the line of text that contains the
target.
MENUTEXT
restricts the search to text only to the left of any production symbols (<==) that are
present in cache.
STARTING line [, col ]
indicates the ordinal index where the cache search should start. For example
STARTING 0, 1, 2, ... corresponds to the first, second, or third line in cache, and