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?
11 if (args.eq.'') STOP 2
14 if (args.ne.'a') STOP 3
17 if (args.ne.'') STOP 4
18 ! Assume we won't have been called with more that 4 args.
21 if (args.ne.'') STOP 5
24 if (args.ne.'') STOP 6