From: Lionel.DRAGHI@fr.thalesgroup.com
To: comp.lang.ada@ada-france.org
Subject: RE: Zero_Fill pragma, other proposition
Date: Wed, 21 Jul 2004 18:50:08 +0200
Date: 2004-07-21T18:50:08+02:00 [thread overview]
Message-ID: <mailman.37.1090428679.416.comp.lang.ada@ada-france.org> (raw)
| -----Message d'origine-----
| De: Nick Roberts [mailto:nick.roberts@acm.org]
..
| for Message use record
| Id at 0 range 0 .. 7;
| all 0 at 0 range 8 .. 15;
| Data at 0 range 16 .. 65;
| end record;
Its a better syntax, as it doens't require a field name, but the "all" does
not fit well with random value.
So why not directly a numeric literal?
for Message use record
Id at 0 range 0 .. 7;
2#1011_1010# at 0 range 8 .. 15;
Data at 0 range 16 .. 65;
end record;
That's pretty clear, isn't it?
--
Lionel Draghi
next reply other threads:[~2004-07-21 16:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-21 16:50 Lionel.DRAGHI [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-07-21 13:17 Zero_Fill pragma, other proposition Lionel.DRAGHI
2004-07-21 9:20 Lionel.DRAGHI
2004-07-21 10:09 ` Ludovic Brenta
2004-07-21 15:07 ` Nick Roberts
2004-07-21 19:50 ` Wes Groleau
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox