comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Ada equivalent of C "static" structures
Date: 1997/03/07
Date: 1997-03-07T00:00:00+00:00	[thread overview]
Message-ID: <dewar.857783556@merv> (raw)
In-Reply-To: 33206981.84E@mccabe.com


Mike, you asked

<<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>>

Sounds like you need to do some basic reading in Ada structuring and
visibility, since this is an extremely elementary question. The important
thing is not just to get an answer to your question (which is simple, 
just define a variable at the level of the package body), but rather
to understand the general mechanisms, since Ada is MUCH mor powerful
than C in this area, so you want to go much beyond just duplicating
C faclities.

You might find one of the online tutorials worthwhile, checkout
www.adahome.com.





  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 [this message]
1997-03-07  0:00 ` john schneider
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