IUBio

Wildcards in DCL?

Nick Staffa, ph 361-9422 ext226 STAFFA at NIEHS.NIH.GOV
Fri Nov 1 14:11:05 EST 1996


>
>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 
$



More information about the Info-gcg mailing list

Send comments to us at biosci-help [At] net.bio.net