Parameters, Cont’d
$ @procedure_name p1 p2 p3 … p8
Notes, Cont’d:
- Reference parameters via the variable names P1 through P8.
- No built-in “shift” function. If you need it, write it as a GOSUB.
Notes:
Within a procedure, you reference parameters using the symbol names P1 through P8. These symbols are local to the current procedure level.
There is no built-in “SHIFT” function that can be used to exhaust the list of parameters, as there is in UN*X and DOS. If you need this functionality, write it as a GOSUB.