Parameters, Cont’d
Use the SHIFT subroutine:
$ IF P1 .EQS. “” THEN EXIT
Notes:
Here’s and example of how to implement the SHIFT subroutine.
The idea is to process all the parameters on the command line, one by one - as P1 - then exit when none remain unprocessed.