From: Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov>
Subject: Re: strange problem.Help pleeeeeeeeeese
Date: 24 Jun 2002 10:03:55 -0400
Date: 2002-06-24T14:11:15+00:00 [thread overview]
Message-ID: <u7kkopyd0.fsf@gsfc.nasa.gov> (raw)
In-Reply-To: 14763faf.0206202132.14bb4f04@posting.google.com
vashwathus@yahoo.com (Ashwath) writes:
> Hello,
> I am facing a peculiar problem while testing Ada procedure.
> The procedure has a variable which is local to it and it is of type
> called T_REPORT.T_REPORT is a enumeration type and it contains 3
> values CORRECT,DEFINED and UNDEFINED and is defined in another generic
> package called BLACK_BOARD.Now That local variable is passed to some
> procedure which will set it to the value CORRECT.After invoking that
> procedure the local variable is compared as follows
> if LOCAL_VARIABLE /= REPORT_BDS.CORRECT then
> .....
> .....
> else
> ....
> ....
> end if;
> Note that REPROT_BDS is instantiation of the package BLACK_BOARD.
> While debugging, the execution is going to the else part.Please let me
> know what might be the problem?
You haven't said what you expected to happen instead, nor why. It
helps to be very clear here.
> Sorry the post is little big.
Actually, this post is quite small.
> I thougt to give all the details so that it is easy for u ppl to
> analyse.Pls reply as soon as possible, it is very urgent.
Sounds like this is homework; if so, it is polite to say so.
In general, it is much easier to answer questions like this if you
post the code.
--
-- Stephe
prev parent reply other threads:[~2002-06-24 14:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-21 5:32 strange problem.Help pleeeeeeeeeese Ashwath
2002-06-21 7:27 ` David Marceau
2002-06-21 11:44 ` Antonio Duran
2002-06-24 14:03 ` Stephen Leake [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