From: Jeffrey Carter <spam@spam.com>
Subject: Re: Passing arrays to procedures
Date: Thu, 23 Dec 2004 00:50:39 GMT
Date: 2004-12-23T00:50:39+00:00 [thread overview]
Message-ID: <zDoyd.7096$9j5.5669@newsread3.news.pas.earthlink.net> (raw)
In-Reply-To: <cqcf7o$kbu$03$1@news.t-online.com>
Ada allows nested scopes:
procedure Outer is
type Blah is array (Something range <>) of Something_Else;
procedure Inner (X : in Blah) is
...
end Blah;
V : Blah := ...;
begin -- Outer
Inner (X => V);
end Outer;
However, the primary form of encapsulation in Ada is the package.
--
Jeff Carter
"If I could find a sheriff who so offends the citizens of Rock
Ridge that his very appearance would drive them out of town ...
but where would I find such a man? Why am I asking you?"
Blazing Saddles
37
next prev parent reply other threads:[~2004-12-23 0:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-22 14:34 Passing arrays to procedures xadian
2004-12-22 15:09 ` Alex R. Mosteo
2004-12-22 18:43 ` xadian
2004-12-22 19:34 ` tmoran
2004-12-22 21:03 ` Martin Krischik
2004-12-23 0:50 ` Jeffrey Carter [this message]
2004-12-22 16:20 ` Martin Krischik
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox