RM B 4 95-98 Interfacing with COBOL (GNAT Reference Manual) (original) (raw)
6.42 RM B.4(95-98): Interfacing with COBOL ¶
“An Ada implementation should support the following interface correspondences between Ada and COBOL.”
Followed.
“An Ada access
T
parameter is passed as aBY REFERENCE
data item of the COBOL type corresponding toT
.”
Followed.
“An Ada in scalar parameter is passed as a
BY CONTENT
data item of the corresponding COBOL type.”
Followed.
“Any other Ada parameter is passed as a
BY REFERENCE
data item of the COBOL type corresponding to the Ada parameter type; for scalars, a local copy is used if necessary to ensure by-copy semantics.”
Followed.