Allowed Formal and Actual Parameters

All parameters can be declared to be call-by-name or, in the case of strings, call-by-reference. A parameter of type ANYTYPE is declared as call-by-reference. The following types of parameters also can be declared to be call-by-value:

  • ASCII string

  • Boolean simple variable

  • complex simple variable

  • dinteger simple variable

  • double simple variable

  • EBCDIC string

  • hexadecimal string

  • integer simple variable

  • label

  • pointer

  • real simple variable

  • string