* Re: "with" and "use"
@ 2001-08-08 10:25 Gautier Write-only-address
0 siblings, 0 replies; 2+ messages in thread
From: Gautier Write-only-address @ 2001-08-08 10:25 UTC (permalink / raw)
To: comp.lang.ada
> >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
^ permalink raw reply [flat|nested] 2+ messages in thread
* "with" and "use"
@ 2001-08-07 23:44 Alexandre E. Kopilovitch
0 siblings, 0 replies; 2+ messages in thread
From: Alexandre E. Kopilovitch @ 2001-08-07 23:44 UTC (permalink / raw)
To: comp.lang.ada
Lao Xiao Hai <laoxhai@ix.netcom.com> wrote:
>I do understand
>that those who migrate to Ada from another language will sometimes find
>the syntax unnatural.
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.
Alexander Kopilovitch aek@vib.usr.pu.ru
Saint-Petersburg
Russia
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-08-08 10:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-08 10:25 "with" and "use" Gautier Write-only-address
-- strict thread matches above, loose matches on Subject: below --
2001-08-07 23:44 Alexandre E. Kopilovitch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox