Ada Programming/Attributes/'Position


Ada. Time-tested, safe and secure.
Ada. Time-tested, safe and secure.

Description

edit

'Position is a record type component attribute. It represents the address offset of the component from the beginning of the record. The value returned is represented in storage units, which is machine-specific. The attribute is closely related to the attributes 'First_Bit and 'Last_Bit. Together they specify the Layout aspect of records.

See Representation Clauses.

See also

edit

Wikibook

edit

Ada Reference Manual

edit