From: Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov>
Subject: Re: Learning Ada-What does this mean.
Date: 11 Sep 2002 10:04:19 -0400
Date: 2002-09-11T14:14:10+00:00 [thread overview]
Message-ID: <uadmok4gs.fsf@gsfc.nasa.gov> (raw)
In-Reply-To: d40d7104.0209110358.50df45fa@posting.google.com
vashwath@rediffmail.com (prashna) writes:
> Hi all,
> 1)Have a look at following piece of code and pls let me what does it
> mean?
This is a fairly reasonable question. However, it helps if you tell
us what you think it means, or what you want it to mean.
> type T_MEM_IO is
> record
> INT_1 : T_INTEGER;
> INT_2 : T_INTEGER;
> end record;
You do not show how T_INTEGER is defined, so I can't answer your
question. The general rule here is to post _compilable_ examples. That
means make a small program (called Learning_Ada, or whatever), that
defines _all_ types needed. That makes things much clearer.
> for T_MEM_IO use
> record
> INT_1 at 0 range 0..31;
> INT_2 at 1 range 0..31;
> end record;
Do you know that this is called a record representation clause? You
need to give us a better clue as to what you don't understand.
> 2)The code shown above is compiling perfectly when compiled using
> tartan compiler(on AIX), but giving error when compiled using gnat(on
> windows 2000).Why is it so?
Post the exact error messages, then we can help.
> Any help will be appriciated.
Please try again.
--
-- Stephe
next prev parent reply other threads:[~2002-09-11 14:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-11 11:58 Learning Ada-What does this mean prashna
2002-09-11 12:26 ` Georg Bauhaus
2002-09-13 4:24 ` prashna
2002-09-13 12:46 ` Georg Bauhaus
2002-09-11 14:04 ` Stephen Leake [this message]
2002-09-11 14:31 ` Pascal Obry
2002-09-11 14:50 ` Peter Hermann
2002-09-11 18:40 ` tmoran
2002-09-13 4:19 ` prashna
2002-09-13 4:52 ` tmoran
2002-09-13 11:00 ` David C. Hoos, Sr.
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox