comp.lang.ada
 help / color / mirror / Atom feed
From: Ted Dennison<dennison@telepath.com>
Subject: Re: package body functionality
Date: Tue, 29 May 2001 20:34:52 GMT
Date: 2001-05-29T20:34:52+00:00	[thread overview]
Message-ID: <MJTQ6.4332$rn5.225402@www.newsranger.com> (raw)
In-Reply-To: u66ekm0m5.fsf@gsfc.nasa.gov

In article <u66ekm0m5.fsf@gsfc.nasa.gov>, Stephen Leake says...
>
>f97stdi@dd.chalmers.se (Staffan Dittmer) writes:
>
>> package body B is
>>  variable: some_type;
>> begin
>>  variable:=call_some_function_outside_B;
>> end B;
>> 
>> I know that in B the variable will be assigned
>> every time a program using the package is run,
>
>This is seriously wrong! B.variable is _not_ set many times. It
>would be interesting to understand how you got that impression.

He said every time the *program* is run, which is quite correct. I'll admit the
possiblity that he meant something else (although I'm having trouble mentally
concoting a reasonable alternative), but that's not what he wrote.

---
T.E.D.    homepage   - http://www.telepath.com/dennison/Ted/TED.html
          home email - mailto:dennison@telepath.com



  reply	other threads:[~2001-05-29 20:34 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-26 14:28 package body functionality Staffan Dittmer
2001-05-26 17:09 ` Larry Kilgallen
2001-05-26 17:22 ` Jeffrey Carter
2001-05-26 18:31   ` DuckE
2001-05-26 19:16 ` Aron Felix Gurski
2001-05-27 13:50 ` Ken Garlington
2001-05-29  9:15   ` Philip Anderson
2001-05-29 13:26 ` Ted Dennison
2001-05-29 19:11 ` Stephen Leake
2001-05-29 20:34   ` Ted Dennison [this message]
2001-05-29 21:29     ` Marin David Condic
2001-05-30 13:46       ` Ted Dennison
2001-05-30 14:25         ` Marin David Condic
2001-05-31 19:08         ` Wes Groleau
2001-05-30 14:23     ` Stephen Leake
2001-05-31  1:37   ` Robert A Duff
replies disabled

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