comp.lang.ada
 help / color / mirror / Atom feed
From: "Jean-Pierre Rosen" <rosen@adalog.fr>
Subject: Re: with and use
Date: Wed, 10 Jul 2002 16:24:46 +0200
Date: 2002-07-10T16:24:46+02:00	[thread overview]
Message-ID: <aghg1g$r9b$1@s1.read.news.oleane.net> (raw)
In-Reply-To: 3D2C3A69.8070207@yahoo.com

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 773 bytes --]


"David Rasmussen" <pinkfloydhomer@yahoo.com> a �crit dans le message news:
> So with corresponds roughly to an #include of some header file that
> defines prototypes etc. for some other compilation unit in C++, and use
> corresponds roughly to "using namespace Whatever", assuming that the
> things included were in a seperate namespace?
Roughly :-)

> "with" and only appear at the top of a unit. Where can "use" appear?
>
At any place a declaration can appear, and like any declaration, its effects extends from where it is declared to the corresponding
"end". In addition, it can also appear in a context clause.

--
---------------------------------------------------------
           J-P. Rosen (rosen@adalog.fr)
Visit Adalog's web site at http://www.adalog.fr





  reply	other threads:[~2002-07-10 14:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-10 13:00 with and use David Rasmussen
2002-07-10 13:25 ` Jean-Pierre Rosen
2002-07-10 13:45   ` David Rasmussen
2002-07-10 14:24     ` Jean-Pierre Rosen [this message]
2002-07-10 19:17       ` Ted Dennison
2002-07-10 17:18     ` Jeffrey D. Cherry
  -- strict thread matches above, loose matches on Subject: below --
2002-07-10 17:20 Gautier direct_replies_not_read
replies disabled

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