comp.lang.ada
 help / color / mirror / Atom feed
From: "Gautier Write-only-address" <gautier_niouzes@hotmail.com>
To: comp.lang.ada@ada.eu.org
Subject: Re: "with" and "use"
Date: Wed, 08 Aug 2001 10:25:26 +0000
Date: 2001-08-08T10:25:26+00:00	[thread overview]
Message-ID: <mailman.997266410.15688.comp.lang.ada@ada.eu.org> (raw)

> >I do understand
> >that those who migrate to Ada from another language will sometimes find
> >the syntax unnatural.

Alexandre E. Kopilovitch:

>The good example of that is switching between Ada and Object Pascal 
>(Delphi).
>Both have "with" and "use" - exactly the same words, but the effect of 
>"with"
>in Ada is similar to "use" in Pascal, and vice versa.

From Turbo Pascal 4 up to the latest Delphi 6 at least, you
have more precisely the following:

  O.P.             Ada
  ---------        -----------
  "uses"           "with" & "use" & inject Alzheimer disease to
                   Ada compiler about possible name conflicts

  "with"           no equivalent (kind of Ada "use", for records)

Just not to mislead readers...
________________________________________________________
Gautier  --  http://www.mysunrise.ch/users/gdm/gsoft.htm

NB: Do not answer to sender address, visit the Web site!
    Ne r�pondez pas � l'exp�diteur, visitez le site ouaibe!


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




             reply	other threads:[~2001-08-08 10:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-08 10:25 Gautier Write-only-address [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-08-07 23:44 "with" and "use" Alexandre E. Kopilovitch
replies disabled

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