>>I'd like to add wildcard capabilities to this com file, so that one
>could, for example, issue the command:
>
See
$ Help Lexical F$search
this function will take a wild card and return the value of a different
file each time it is called.
Here is a rather old DCL file that uses it.
$ if P1 .EQS. "" THEN INQUIRE P1 " FILES?"
$ ctrl_c=" "
$ ctrl_c[0,8]=%X83 !control/c with eighth bit set
$ firsttime="true"
$ begin:
$ PLOTFILE=F$SEARCH(P1)
$ IF PLOTFILE .EQS. "" THEN GOTO NOTFOUND
...
...
...
$! queue job to plot queue
$ PRINT/QUEUE=PLOT/FORMS=PLOTTER 'OUTFILE','PLOTFILE'
$dele: delete 'OUTFILE';0
$ goto begin
$ IVFY=F$VERIFY(IVFY)
$EXIT
$