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,1054df2e2c490eda,start X-Google-Attributes: gid103376,public From: "W. Wesley Groleau (Wes)" Subject: Re: Q: Memory management Date: 1996/06/24 Message-ID: <9606241936.AA11042@most>#1/1 X-Deja-AN: 161895522 sender: Ada programming language comments: Gated by NETNEWS@AUVM.AMERICAN.EDU mailer: Elm [revision: 70.85] newsgroups: comp.lang.ada Date: 1996-06-24T00:00:00+00:00 List-Id: Hannes suggests > Pass_To_Assembler ( X ( X.all'First )'Address ); X.all'First and X'First should be identical. X'Address and X(X'First)'Address should be identical, too, unless ... Is it legal for an implementation to store strings the way the VAX writes arrays of bytes? With VAX Ada 2.0 when I declared type X is array ( ... ) of Byte; -- Byte is range 0 .. 255 / 'Size = 8 package Block_IO is new Direct_IO ( X ) then a Put ( Item => ( 1, 2, 3, 4, 5, 6, 7, 8, 9, ... ) resulted in the file containing 2, 1, 4, 3, 6, 5, 8, 7, ... I never checked whether strings did the some thing, nor did I check whether the addresses of the components were equally screwy. -- --------------------------------------------------------------------------- W. Wesley Groleau (Wes) Office: 219-429-4923 Magnavox - Mail Stop 10-40 Home: 219-471-7206 Fort Wayne, IN 46808 elm (Unix): wwgrol@pseserv3.fw.hac.com ---------------------------------------------------------------------------