Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1488 |
|
Package | dish | |
Module | dish | |
Tool | sditerator |
selection | in | Selection criteria record | |
Allowed: | Glish record | ||
Default: | [=] |
sdit := sditerator('a302_SP'); sel := [header=[scan_number=array(0,2,3),source_name="UGC1*"]]; sel.header.scan_number[,1] := [-1, 10]; sel.header.scan_number[,2] := [15,15]; sel.header.scan_number[,3] := [50,9999999]; s2 := sdit.select(sel);
In this example, scan numbers which are less than or equal to 10 or equal to
15 or greater than or equal to 50 are selected, so long as the source name
matches the one given in the example (a wild card is used here).