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, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c63aa81a67eceb8f X-Google-Attributes: gid103376,public From: Ted Dennison Subject: Re: Ragged Array Proposal Date: 1999/09/27 Message-ID: <7so0i4$d8j$1@nnrp1.deja.com>#1/1 X-Deja-AN: 529680476 References: <37e7c08e@eeyore.callnetuk.com> <37EA9A72.594ED8F5@mitre.org> <37ebb120@eeyore.callnetuk.com> X-Http-Proxy: 1.0 x35.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Mon Sep 27 14:56:10 1999 GMT X-MyDeja-Info: XMYDJUIDtedennison Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.6 [en] (WinNT; I) Date: 1999-09-27T00:00:00+00:00 List-Id: In article <37ebb120@eeyore.callnetuk.com>, "Nick Roberts" wrote: > To use the fructuous example of another post in this thread, in Ada 95 > one would have to declare: > > Fruits: constant array (Positive range <>) of Unbounded_String := > (To_Unbounded_String("Apple"), > To_Unbounded_String("Orange"), > To_Unbounded_String("Pear"), > ...); Actually, that hides a bit of information. If I were writing it, it would look more like: Fruits : constant array (Positive range <>) of Ada.Strings.Unbounded.Unbounded_String := (Ada.Strings.Unbounded.To_Unbounded_String("Apple"), Ada.Strings.Unbounded.To_Unbounded_String("Orange"), Ada.Strings.Unbounded.To_Unbounded_String("Pear"), ...); > I would be delighted for the ARG to consider my ragged array > proposal, if it comes within the group's remit. I will endeavour to While I'm beginning to think the idea may have merit, I think it would be too drastic of a change to even think of retroactively incorporating into the current standard. If it is considered at all, it should be for a 20xx language revision. -- T.E.D. Sent via Deja.com http://www.deja.com/ Before you buy.