1 ! Check that getarg does somethig sensible.
3 CHARACTER*10 ARGS, ARGS2
8 ! This should return the invoking command. The actual value depends
9 ! on the OS, but a blank string is wrong no matter what.
10 ! ??? What about deep embedded systems?
14 if (args2.ne.args) STOP 1
16 if (args.eq.'') STOP 2
19 if (args.ne.'a') STOP 3
22 if (args.ne.'') STOP 4
23 ! Assume we won't have been called with more that 4 args.
26 if (args.ne.'') STOP 5
29 if (args.ne.'') STOP 6