VMS Help
PASCAL, Attributes, Parameter
*Conan The Librarian (sorry for the slow response - running on an old VAX)
|
|
The parameter passing attributes indicate the passing mechanism
to be used for a parameter.
The CLASS_A attribute causes a formal parameter to be passed by
an array descriptor that describes contiguous arrays of atomic
data types or contiguous arrays of fixed-length strings. This
is the default mechanism for conformant array parameters on
OpenVMS VAX systems. This attribute is illegal on parameters of
schema types.
See the "Compaq Pascal Language Reference Manual" for the
complete description of using the CLASS_A attribute.
The CLASS_NCA attribute causes a formal parameter to be passed
by a noncontiguous array descriptor. This attribute is illegal
on parameters of schema types. This is the default mechanism
for conformant array parameters on OpenVMS Alpha systems.
The CLASS_S attribute causes a formal parameter to be passed by
a single descriptor form that is used for scalar data and
fixed-length strings. This attribute allows routines written in
Compaq Pascal to accept actual parameters from languages that
generate CLASS_S descriptors.
See the "Compaq Pascal Language Reference Manual" for the
complete description of using the CLASS_S attribute.
The IMMEDIATE attribute causes a formal parameter value in a
routine declaration to be passed by immediate value.
See the "Compaq Pascal Language Reference Manual" for the
complete description of using the IMMEDIATE attribute.
The REFERENCE attribute causes the formal parameter in a routine
to be passed by reference using foreign parameters.
See the "Compaq Pascal Language Reference Manual" for the
complete description of using the REFERENCE attribute.
[legal]
[privacy]
[GNU]
[policy]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.