OSEarch
OSEarch
command/query
The OSEarch command defines the search criteria for the 0 marker,
which is then used with associated
OPATtern
recognizer
specification when moving the markers on patterns. The origin parameter
tells the marker to begin a search with the trigger, the start of data, or with
the X marker. The actual occurrence the marker searches for is
determined by the occurrence parameter of the
OPATtem
recognizer specification, relative to the origin. An occurrence of 0 places
the marker on the selected origin. With a negative occurrence, the
marker searches before the origin. With a positive occurrence, the
marker searches after the origin.
The OSEarch query returns the search criteria for the 0 marker.
Command Syntax:
:MACHine{
1
I2):SLISt:OSEarch
<occurrence
>,
c
origin
>
where:
c
occurrence
>
:: = integer from -1023 to + 1023
-z
origin
>
:: =
{TRIGger
1
STARt
IXMARker}
Example:
OUTPUT
XXX;":MACHINEl:SLIST:OSEARCH
+lO,TRIGGER"
Query Syntax:
:MACHine{l
[2}:SLISt:OSEarch?
Returned Format:
[:MACHine{l
IO}:SLISt:OSEarch]
<occurrence>,
<origin
>
cNL>
Example:
10 DIM Os$[lOO]
20 OUTPUT XXX;":MACHINEl:SLIST:OSEARCH?"
30 ENTER
XXX;Os$
40 PRINT
Os$
50 END
HP
1650B/HP
16518
Programming Reference
SLIST Subsystem
13-13