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 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bd40601768eaf8fd X-Google-Attributes: gid103376,public From: "Nick Roberts" Subject: Re: Array of Variant Records Question... Date: 1999/09/09 Message-ID: <37d74dea@eeyore.callnetuk.com>#1/1 X-Deja-AN: 522832227 References: <7r5vh3$imu1@svlss.lmms.lmco.com> <37d6a45c@news1.prserv.net> X-Original-NNTP-Posting-Host: da129d214.dialup.callnetuk.com X-Trace: 9 Sep 1999 07:04:26 GMT, da129d214.dialup.callnetuk.com X-MSMail-Priority: Normal X-Priority: 3 Newsgroups: comp.lang.ada X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Date: 1999-09-09T00:00:00+00:00 List-Id: The flaw is that Ada has no 'polymorphic array type': an array that has an indefinite component subtype. As I suggested in a post a few months ago, such an array type would be easy to add to Ada's existing syntax, easy and efficient to implement (as an array of pointers plus a ragged sequence of objects, internally), and very bloody useful, pardon the language. (It would have solved Bruce's problem in a trice.) Maybe come the next review... ------------------------------------- Nick Roberts http://www.adapower.com/lab/adaos ------------------------------------- Mike Silva wrote in message news:eExB3.6$ZR.1146@news.wenet.net... | I didn't get it -- what is the flaw? What would be the "proper" solution to | remove the flaw?