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,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,905a7c70138a61ab,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-16 13:21:45 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.icl.net!dispose.news.demon.net!demon!colt.net!newspeer.clara.net!news.clara.net!news5-gui.server.ntli.net!ntli.net!news6-win.server.ntlworld.com.POSTED!not-for-mail From: "chris.danx" Newsgroups: comp.lang.ada Subject: Initialising stuff MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Tue, 16 Oct 2001 21:16:52 +0100 NNTP-Posting-Host: 213.104.120.34 X-Complaints-To: abuse@ntlworld.com X-Trace: news6-win.server.ntlworld.com 1003263396 213.104.120.34 (Tue, 16 Oct 2001 21:16:36 BST) NNTP-Posting-Date: Tue, 16 Oct 2001 21:16:36 BST Organization: ntlworld News Service Xref: archiver1.google.com comp.lang.ada:14747 Date: 2001-10-16T21:16:52+01:00 List-Id: Hi, I need a variable (global) for a screen package (write to video memory) and would like it to be initialised once and once only when the package is "with"ed. I can think of one way to do this... package body xxx is ... begin initialise screen stuff here; end xxx; but I'm unsure if this will work as I don't know the issues involved. Will this work bearing in mind the purpose of the package? Is the following the same or similar? package xxx is ... private type yyy is record abc : byte := 0; end record; a_yyy : yyy; end xxx; Any advice? Thanks, Chris