J.8 Mod Clauses

From OC Systems Wiki!
Jump to: navigation, search

Syntax

mod_clause ::= at mod static_expression;

Static Semantics

A record_representation_clause of the form:

for r use
    record at mod a
        ...
    end record;

is equivalent to:

for r'Alignment use a;
for r use
    record
        ...
    end record;

Copyright © 1992,1993,1994,1995 Intermetrics, Inc.
Copyright © 2000 The MITRE Corporation, Inc. Ada Reference Manual