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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,905a7c70138a61ab X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-16 19:42:25 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3BCCF006.B3A57E6F@acm.org> From: Jeffrey Carter X-Mailer: Mozilla 4.7 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Initialising stuff References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 17 Oct 2001 02:42:22 GMT NNTP-Posting-Host: 158.252.129.2 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 1003286542 158.252.129.2 (Tue, 16 Oct 2001 19:42:22 PDT) NNTP-Posting-Date: Tue, 16 Oct 2001 19:42:22 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net X-Received-Date: Tue, 16 Oct 2001 19:38:43 PDT (newsmaster1.prod.itd.earthlink.net) Xref: archiver1.google.com comp.lang.ada:14772 Date: 2001-10-17T02:42:22+00:00 List-Id: "chris.danx" wrote: > > It's private and global inside the screens package, outside it can't be > accessed. The operations such as put, gotoxy etc manipulate the variable, > and to ensure proper working it requires initialisation. That's not global, that's package state data. Whether you initialize it where it's declared, or provide default initial values for all the components of a record, or put a bunch of elaborate initialization code in the package body, it's initialized during elaboration of the package. -- Jeff Carter "You couldn't catch clap in a brothel, silly English K...niggets." Monty Python & the Holy Grail