Example:
GTM>DO ^%FL First Line Lister Routine: %D %D Current total of 1 routine. Routine: %GS* %GSE %GSEL Current total of 3 routines. Routine: - %D %D Current total of 2 routines. Routine: ?D %GSE %GSEL Routine: <RETURN> Output Device: <RETURN> Routine First Line Lister Utility GT.M 21-MAR-2002 16:44:09 %GSE %GSE;GT.M %GSE utility - global search ; %GSEL; %GSEL;GT.M %GSEL utility - global select into a local array ; ;invoke ^%GSEL to create %ZG - a local array of existing globals, interactively ; Total 5 lines in of 2 routines. GTM>
This example selects %D, then selects %GSE and %GSEL and deselects %D. Because the example enters <RETURN> at the Output Device: <terminal>: prompt, the output goes to the principal device.