comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@bix.com
Subject: Re: Type size vs. actual size difference.
Date: 2000/03/20
Date: 2000-03-20T00:00:00+00:00	[thread overview]
Message-ID: <uqtB4.3192$b64.79684@news.pacbell.net> (raw)
In-Reply-To: 8b5hhp$pvv1@svlss.lmms.lmco.com

>We have defined a record that has a length of 214 bytes.
  So you have
type sometype is record ...
for sometype'size use 214*8;
x : sometype;
begin
ada.text_io.put_line(integer'image(x'size/8));
  and it prints 216?




      parent reply	other threads:[~2000-03-20  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-20  0:00 Type size vs. actual size difference Bruce Detter
2000-03-20  0:00 ` Vladimir Olensky
2000-03-20  0:00   ` Robert Dewar
2000-03-20  0:00     ` Vladimir Olensky
2000-03-20  0:00 ` Stanley R. Allen
2000-03-20  0:00 ` tmoran [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox