CS 3304: Comparative Languages
Data Types
[
Course Documents
] : [
Data Types
]
Previous
Contents
Next
Keyword Index
Record Operations
Assignment
Pascal, Ada, and C++ allow it if the types are identical
In Ada, the RHS can be an aggregate
Initialization
Allowed in Ada, using an aggregate
Comparison
In Ada, = and /=; one operand can be an aggregate
MOVE CORRESPONDING
In COBOL--it moves all fields in the source record to fields with the same names in the destination record