comp.lang.ada
 help / color / mirror / Atom feed
From: john schneider <j-schneider@ti.com>
Subject: Re: Ada equivalent of C "static" structures
Date: 1997/03/07
Date: 1997-03-07T00:00:00+00:00	[thread overview]
Message-ID: <332076AC.167EB0E7@ti.com> (raw)
In-Reply-To: 33206981.84E@mccabe.com


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.




  parent reply	other threads:[~1997-03-07  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-03-07  0:00 Ada equivalent of C "static" structures Michael Ibarra
1997-03-07  0:00 ` Robert Dewar
1997-03-07  0:00 ` john schneider [this message]
1997-03-08  0:00 ` John McCabe
1997-03-08  0:00   ` Robert Dewar
1997-03-09  0:00     ` John McCabe
replies disabled

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