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,FREEMAIL_FROM, INVALID_MSGID,XPRIO autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,48bf593f723b7524,start X-Google-Attributes: gid103376,public From: "Josh Highley" Subject: Can I have an array of variant records? Date: 1999/04/20 Message-ID: <371c84fb.0@silver.truman.edu>#1/1 X-Deja-AN: 468844577 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 X-Complaints-To: abuse@more.net X-Trace: news.more.net 924637765 5475 150.243.160.9 (20 Apr 1999 19:49:25 GMT) Organization: MOREnet X-MSMail-Priority: Normal NNTP-Posting-Date: 20 Apr 1999 19:49:25 GMT Newsgroups: comp.lang.ada Date: 1999-04-20T19:49:25+00:00 List-Id: I have the following type declaration and I would like to have an array of them. However, I need "length" to have different values for each element of the array. type field (length : positive) is limited private; --it's later defined to be a record with a string(1..length), among other information. For instance, I would like field_array(1) to be a field with a length of 10, field_array(2) to be a field of length 50, and so on. Can I declare an array of these fields, with each field of a different length? I'm using GNAT 3.11, AdaGIDE 6.21, and Win95 Thanks, Josh Highley joshhighley@hotmail.com