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_20,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a1c2523f8c9a6b7d X-Google-Attributes: gid103376,public From: john schneider Subject: Re: Ada equivalent of C "static" structures Date: 1997/03/07 Message-ID: <332076AC.167EB0E7@ti.com>#1/1 X-Deja-AN: 223857006 References: <33206981.84E@mccabe.com> Newsgroups: comp.lang.ada Date: 1997-03-07T00:00:00+00:00 List-Id: Michael Ibarra wrote: > > I'm wondering if anyone can point me in the right direction: > > I need to declare a record which has "file" scope. This would be > something that every unit within this file could access, but could > not be accessed from any unit outside of this file. > > Any ideas??? > > thanks in advance > -Mike Define your record in the package BODY rather than in the spec. Only other units declared in the package will be able to access it. John Schneider j-schneider@ti.com The opinions are mine, but you are welcome to borrow them.