Next: , Previous: RM B 3 63-71 Interfacing with C, Up: Implementation Advice


6.41 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 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.