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,3467cec1612741de,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-19 23:18:02 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!enews.sgi.com!newshub2.rdc1.sfba.home.com!news.home.com!news2.POSTED!not-for-mail From: "McDoobie" Subject: Anonymous array clarification. Newsgroups: comp.lang.ada User-Agent: Pan/0.8.1beta4 (Unix) X-No-Productlinks: Yes Message-ID: Date: Mon, 20 Aug 2001 06:18:01 GMT NNTP-Posting-Host: 24.0.109.49 X-Complaints-To: abuse@home.net X-Trace: news2 998288281 24.0.109.49 (Sun, 19 Aug 2001 23:18:01 PDT) NNTP-Posting-Date: Sun, 19 Aug 2001 23:18:01 PDT Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: archiver1.google.com comp.lang.ada:12108 Date: 2001-08-20T06:18:01+00:00 List-Id: In Ada one can declare anonymous arrays (an array without a type assigned to it.) However what would such an array be used for, and are the bounds on it's use the same as for any other type of array. I guess what I'm asking is if I declare an array such as some_array : array(1..N); Can I assign values such as '1' '2' '3' 'H' 'y' '-' 'foo' all to the same array? And how would those values be stored in memory? As Hex data with thier values revealed according to the context of the code block they're in? How would I tell it to read the data stored in that block as Integers, Chars, et...? As a side note, I'll be downloading the source code to GNAT so that I can get a better understanding as to how this all works. Any help would be appreciated. Thanks McDoobie chris@dont.spam.me