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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,98e311935a219163 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-25 21:48:44 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!netnews.com!xfer02.netnews.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!59ce1190!not-for-mail Message-ID: <3CF0691B.12608AE1@acm.org> From: Jeffrey Carter X-Mailer: Mozilla 4.7 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Help with Copying Shared Memory to Local References: <3CED51CF.39E26FC6@acm.org> <5ee5b646.0205250323.38881e25@posting.google.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sun, 26 May 2002 04:48:42 GMT NNTP-Posting-Host: 63.184.107.88 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 1022388522 63.184.107.88 (Sat, 25 May 2002 21:48:42 PDT) NNTP-Posting-Date: Sat, 25 May 2002 21:48:42 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: archiver1.google.com comp.lang.ada:24814 Date: 2002-05-26T04:48:42+00:00 List-Id: Robert Dewar wrote: > > Jeffrey Carter wrote in message news:<3CED51CF.39E26FC6@acm.org>... > > > A : Storage_Array (1 .. Storage_Length); > > for A'Address use Destination; > > pragma Import (Ada, A); > > > > B : Storage_Array (1 .. Storage_Length); > > for B'Address use Source; > > pragma Import (Ada, B); > > OUCH! This is erroneous code in Ada 83, so surely you are not saying that > an Ada 83 programmer should have used this approach? Pragma Import was not very portable in Ada 83, either. Obviously this was not intended for Ada 83. -- Jeff Carter "Hello! Smelly English K...niggets." Monty Python & the Holy Grail