From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ef6c792702c0ff46 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: ada to c interfaces and CHARS_PTR Date: 2000/03/13 Message-ID: <8ajfsc$9a6$1@nnrp1.deja.com>#1/1 X-Deja-AN: 596965596 References: <38C7E515.29C42580@mindspring.com> <38C81310.41EB934A@mindspring.com> X-Http-Proxy: 1.0 x42.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Mon Mar 13 19:34:36 2000 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) Date: 2000-03-13T00:00:00+00:00 List-Id: In article <38C81310.41EB934A@mindspring.com>, Al Johnston 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.