[Info-vax] Command Procedure pass value to program READ

Hein RMS van den Heuvel heinvandenheuvel at gmail.com
Mon Feb 7 11:20:17 EST 2022


On Monday, February 7, 2022 at 11:13:59 AM UTC-5, HCorte wrote:
> A segunda-feira, 7 de fevereiro de 2022 à(s) 16:09:15 UTC, Arne Vajhøj escreveu: 
> > On 2/7/2022 10:51 AM, HCorte wrote: 
> > > Is there a way when a program is run in the context of a command procedure to pass a value/string for the READ statement in case of FORTRAN. 

> > $ RUN PROGRAM_EXAMPLE 
> > foobar.dat 
> > $ 
> > $! continue with whatever 

> Thanks @Arne thats it,

Ah cool. I was overthinking it.
You just needed the simple static case where you can indeed just provide the parameter. DCL 101 :-).
I thought you tried to figure out the more tricky dynamic case where a fixed script tries to provide variable data.

Glad you hear your problem is solved.
Cheers,
Hein.





More information about the Info-vax mailing list