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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d6b9730c211f2ef9,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-02 07:23:11 PST Path: archiver1.google.com!news2.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-xfer1.atl.newshosting.com!63.218.45.11.MISMATCH!newshosting.com!news-xfer2.atl.newshosting.com!216.166.71.14.MISMATCH!border3.nntp.aus1.giganews.com!intern1.nntp.aus1.giganews.com!nntp.giganews.com!nntp.gbronline.com!news.gbronline.com.POSTED!not-for-mail NNTP-Posting-Date: Thu, 02 Oct 2003 09:23:10 -0500 Date: Thu, 02 Oct 2003 09:23:20 -0500 From: Wes Groleau Reply-To: groleau@freeshell.org Organization: Ain't no organization here! User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en, es-mx, pt-br, fr-ca MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Another proposal for arrays (and other types) Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 69.9.86.17 X-Trace: sv3-dVebYilEKOm83UMa6ujEFzsG+xQAM8OiV0JZrH/kMMDIVabzy/WDPEFyfEIZs7Jug64fJ+4wLetPRKa!9pIiUGwtVKWTRVAhN3sJFK67C/mMidnzut7Vb/6HRUzdYRl1aTGWyKVoNT5yFnJNnMH6hT56pkL+ X-Complaints-To: abuse@gbronline.com X-DMCA-Complaints-To: abuse@gbronline.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Xref: archiver1.google.com comp.lang.ada:121 Date: 2003-10-02T09:23:20-05:00 List-Id: I think this has already been proposed by someone else: Generalize the declaration of default values on types. type Ant is range Min .. Max := (Min + Max ) / 2; type Primary is (Blue, Yellow, Red) := Blue; type List is array (Some_Discrete) of Thing := ; -- Wes Groleau ----------- I've been framed! ... http://www.useit.com/alertbox/9612.html