From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_FROM_MSSP autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a4cc6fdc99d3fe2a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-05-29 13:35:31 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!feed.textport.net!news-out.nuthinbutnews.com!propagator!feed2.newsfeeds.com!newsfeeds.com!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison References: <9eoeiv$h8$1@eol.dd.chalmers.se> Subject: Re: package body functionality Message-ID: X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse@newsranger.com NNTP-Posting-Date: Tue, 29 May 2001 16:34:52 EDT Organization: http://www.newsranger.com Date: Tue, 29 May 2001 20:34:52 GMT Xref: archiver1.google.com comp.lang.ada:7852 Date: 2001-05-29T20:34:52+00:00 List-Id: In article , 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