LIST Examples
The following examples show the syntax for the LIST function:
drop line. /* drop all Stem variables first*/
TOMEXEC FUNCTION(LIST) TYPE(OBJECT) STEM(line) TOMID(TOM1)
say 'line.0 = 'line.0 /* display the number of objects returned*/
do i = 1 to line.0
say 'line.'i '=' line.i '!' /* display the names of the entries listed*/
end i
TOMEXEC FUNCTION(LIST) TYPE(OBJECT) STEM(line) TOMID(TOM1)
say 'line.0 = 'line.0 /* display the number of objects returned*/
do i = 1 to line.0
say 'line.'i '=' line.i '!' /* display the names of the entries listed*/
end i
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*