8.3 Parameter lists

When arguments must be passed to a function or procedure, these parameters must be declared in the formal parameter list of that function or procedure. The parameter list is a declaration of identifiers that can be referred to only in that procedure or function’s block.

_________________________________________________________________________________________________________ Parameters
-- formal parameter list-(-|parameter declaration---)--------------------
                       ---------;---------

-- parameter declaration----value parameter------------------------------
                     -variable parameter-|
                     -constant parameter|
___________________________________________________________________

Constant parameters and variable parameters can also be untyped parameters if they have no type identifier.


   Value parameters
   Variable parameters
   Constant parameters
   Open array parameters
   Array of const