A_*2|RAW|FLAT|
This would cause the application to generate six strings, based on the
six strings held in the first group (see programming note
).
The names are generated as follows
IC_1575_FLAT
IC_4320_FLAT
NGC_5128_FLAT
NGC_2534_FLAT
NGC_1947_FLAT
NGC_3302_FLAT
A_IC_1575_FLAT2
A_IC_4320_FLAT2
A_NGC_5128_FLAT2
A_NGC_2534_FLAT2
A_NGC_1947_FLAT2
A_NGC_3302_FLAT2
Modification can be combined with indirection and/or the specification of literal strings. For instance, the user could have replied to the prompt for OUT_FILES with the string:
NEW_FILE,A_*2|RAW|FLAT|,^LIST.DAT
This would have caused the second group to contain not only the six names
described above, but also the additional names NEW_FILE and any names
read from the text file LIST.DAT. In this case, the number of output files would
have exceeded the number of input files and the check described in programming
note
would fail.
GRP Routines for Managing Groups of Objects