On Nov 6, 2011, at 2:15 PM, <arcarlini at iee.org> wrote:
David Riley [fraveydank at
gmail.com] wrote:
I never really dealt with Fortran in university,
and if I
had, it probably would have been in a Unix context. Anyone
have some pointers to me on how to process command-line
switches in VMS from Fortran (I'm specifically tinkering with
f77, but I suppose f90 should do; it's a matter of environment)?
You don't make it clear whether you are running this as a foreign
command
or whether you have created a command definition and are running your
program as a CLI command. Since the latter requires enough work that
you would have seen the docs at
http://h71000.www7.hp.com/doc/84final/4493/4493pro_contents.html
I guess that you are doing the former.
Actually, this is pretty much exactly what I was looking for. Not sure why I wasn't
seeing it before, but that should do the trick. I guess, coming from UNIX, I wasn't
as clear on the distinction between an executable and a command, so it looks like I need
to build a command (or possibly, while I'm getting up to speed, just take my arguments
interactively, which is a whole lot easier).
Thanks!
- Dave