comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: ada to c interfaces and CHARS_PTR
Date: 2000/03/13
Date: 2000-03-13T00:00:00+00:00	[thread overview]
Message-ID: <8ajfsc$9a6$1@nnrp1.deja.com> (raw)
In-Reply-To: 38C81310.41EB934A@mindspring.com

In article <38C81310.41EB934A@mindspring.com>,
  Al Johnston <sofeise@mindspring.com> wrote:
> > C has not 'in out' parameters, only 'in' parameters. To pass
the
>
> ???? Although I am still trying to figure this stuff out, it
seems to
> me that c as as much of an in/out as any other language has.


No, this is completely wrong, there is a very important semantic
difference between passing a parameter as IN OUT (which in Ada
is often free to pass by copy or by reference), and passing a
pointer by value. You should definitely read up on this in
standard books on programming languages, the difference is
pretty substantial semantically :-)


Sent via Deja.com http://www.deja.com/
Before you buy.




  reply	other threads:[~2000-03-13  0:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-09  0:00 ada to c interfaces and CHARS_PTR Al Johnston
2000-03-09  0:00 ` Preben Randhol
2000-03-09  0:00   ` Al Johnston
2000-03-09  0:00 ` Gisle S�lensminde
2000-03-09  0:00   ` Al Johnston
2000-03-13  0:00     ` Robert Dewar [this message]
2000-03-15  0:00       ` Al Johnston
2000-03-11  0:00   ` Simon Wright
2000-03-14  0:00     ` Al Johnston
2000-03-15  0:00       ` tmoran
2000-03-15  0:00         ` Al Johnston
2000-03-15  0:00       ` Robert Dewar
2000-03-10  0:00 ` Al Johnston
2000-03-10  0:00 ` tmoran
2000-03-10  0:00   ` Al Johnston
replies disabled

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