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=2.2 required=5.0 tests=BAYES_00,FROM_WORDY, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,47957cb8c33729e5 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.rcn.net!news.rcn.net.POSTED!not-for-mail NNTP-Posting-Date: Fri, 26 Nov 2004 06:23:50 -0600 Reply-To: "Frank J. Lhota" From: "Frank J. Lhota" Newsgroups: comp.lang.ada References: <2vjnfbF2lioiaU1@uni-berlin.de> <1Ucld.25101$KJ6.2286@newsread1.news.pas.earthlink.net> <1810244.ahSE8CPTEK@linux1.krischik.com> Subject: Re: Thick Ada bindings to C Win32 Date: Fri, 26 Nov 2004 07:23:50 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Message-ID: NNTP-Posting-Host: 209.6.185.133 X-Trace: sv3-BCcJcjJMEtLXAJb8BX+15AO/eVNMowyee/RzabsF1ofUWDHQ87WHGUJJ0yyicXIsSvxJ9owZ7Dl0vhN!WL/hP7/sICBRjb44jCJEcGNGYrgFL23xv4+pDbvvMl3nx1+mwRYZC+7wTxflAliY X-Complaints-To: abuse@rcn.net X-DMCA-Complaints-To: abuse@rcn.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.20 Xref: g2news1.google.com comp.lang.ada:6505 Date: 2004-11-26T07:23:50-05:00 List-Id: "Martin Krischik" wrote in message news:1810244.ahSE8CPTEK@linux1.krischik.com... >> Question: >> >> Is S'Address the same as S(S'First)'Address? > > Depends on the compiler used and if the array is definite or indefinite. > Remember: Indefinite Arrays need to store 'First and 'Last. The Ada 83 standard did not specify whether S'Address is the same as S(S'First)'Address, and there were some Ada 83 compilers where S'Address could be the address of the array bounds. This was cleared up in the 95 standard, and now S'Address is required to be S(S'First)'Address.