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 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,86ec22e070e319c0 X-Google-Attributes: gid103376,public From: dennison@telepath.com Subject: Re: How do I get this to work?? Date: 1999/01/18 Message-ID: <77vosc$u59$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 434021940 References: <76s0dp$1v4$1@nntp3.uunet.ca> <76tbvv$ba5$1@nntp3.uunet.ca> <770ifd$qui$1@goblin.uunet.ca> <771bl9$sla$1@nnrp1.dejanews.com> <77b9cp$5kh$1@nnrp1.dejanews.com> X-Http-Proxy: 1.0 x5.dejanews.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Mon Jan 18 16:52:33 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.5 [en] (WinNT; I) Date: 1999-01-18T00:00:00+00:00 List-Id: In article , warwicks@telusplanet.net (Chris Warwick) wrote: > In article , Matthew Heaney wrote: > > >The moral of the story is that, in general, when you have a choice, > >don't manipulate references ("pointers") directly. The language > >mandates the argument passing mechanism (by val vs by ref) for types > >passed to a subprogram having a C convention, so the idea is to let the > >compiler generate the reference ("address") automatically. > > I agree with this, but I am finding it difficult to use the Object features of > Ada 95 without using pointers. This situation can up, because the compiler I > am using refuses to pass anything by value, and I am stuck with pointers > passed through the interface code. A lot of the nifty new class-wide programming features require pointers as well. T.E.D. -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own