Copies select list 0 to a named select list.
named select list, specified as a variable name.
statement copies Select List 0 to a select
list named varname
. You can then use READNEXT
read this select list, one field identifier at a time.
Select List 0 is the default select list created by a SELECT
enables you to copy Select List 0 to a named
select list. You can create a named select list directly by using SELECTV
The following example illustrates the use of the SELECTE
copies all of the field mark identifiers into
Select List 0. Then SELECTE
copies Select List 0 to a select
list named rfields
. Each iteration of READNEXT
the next field mark identifier from Select List rfields
SELECT regions TO 0 ON ERROR PRINT "Select failed"
SELECTE TO rfields
FOR x=1 TO 5
READNEXT area FROM rfields
© 1997-2019 InterSystems Corporation, Cambridge, MA