Ada Resource Association
News and resources for the Ada programming language
Ada Reference ManualLegal Information
Contents   Index   References   Search   Previous   Next 

J.8 Mod Clauses

Syntax

1
mod_clause ::= at mod static_expression;

Static Semantics

2
A record_representation_clause of the form: 
3
for r use
    record at mod a
        ...
    end record;
4
is equivalent to: 
5
for r'Alignment use a;
for r use
    record
        ...
    end record;

Contents   Index   References   Search   Previous   Next 
Ada-Europe Sponsored by Ada-Europe