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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,d6b9730c211f2ef9 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-02 15:17:17 PST Path: archiver1.google.com!news2.google.com!newsfeed.stanford.edu!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!elnk-nf2-pas!newsfeed.earthlink.net!wn14feed!worldnet.att.net!199.45.49.37!cyclone1.gnilink.net!spamkiller2.gnilink.net!nwrdny02.gnilink.net.POSTED!53ab2750!not-for-mail From: "Stephane Richard" Newsgroups: comp.lang.ada References: Subject: Re: Another proposal for arrays (and other types) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: Date: Thu, 02 Oct 2003 22:17:16 GMT NNTP-Posting-Host: 141.149.81.163 X-Complaints-To: abuse@verizon.net X-Trace: nwrdny02.gnilink.net 1065133036 141.149.81.163 (Thu, 02 Oct 2003 18:17:16 EDT) NNTP-Posting-Date: Thu, 02 Oct 2003 18:17:16 EDT Xref: archiver1.google.com comp.lang.ada:135 Date: 2003-10-02T22:17:16+00:00 List-Id: "Wes Groleau" wrote in message news:MeOdnQj5zpBTqeGiU-KYuA@gbronline.com... > 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 > Yeah I believe I did see something like that before on this group :-)....and I agree with it, I like this sytnax. -- St�phane Richard "Ada World" Webmaster http://www.adaworld.com