Next: RM B 5 22-26 Interfacing with Fortran, Previous: RM B 3 63-71 Interfacing with C, Up: Implementation Advice
"An Ada implementation should support the following interface correspondences between Ada and COBOL."
Followed.
"An Ada access T parameter is passed as a
BY REFERENCE
data item of the COBOL type corresponding to T."
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.