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)?
I guess it would be good to point out that I'm essentially a total neophyte when it
comes to working with systems that are not UNIX (or bare metal, or classic Mac OS). Best
I can tell is that I need to call either a SYS$ or CLI$ library function, but I'm a
bit lost in the giant manual and Google doesn't seem to be helping me find sample
code. The "standard" (which probably means UNIX-standard) iargc() and getarg()
functions don't seem to work, at least not without some external library linked in, so
I assume those aren't the way to go.
- Dave