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.9 required=5.0 tests=BAYES_00,LOTS_OF_MONEY autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,aeab6b16387b2612 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-16 11:42:39 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-02!sn-xit-01!supernews.com!newshub2.rdc1.sfba.home.com!news.home.com!news1.sttls1.wa.home.com.POSTED!not-for-mail From: "Mark Lundquist" Newsgroups: comp.lang.ada References: <9itna2$i5b$1@news.tpi.pl> Subject: Nonsense (was Re: How to do it in Ada ?) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: Date: Mon, 16 Jul 2001 18:42:38 GMT NNTP-Posting-Host: 24.248.56.237 X-Complaints-To: abuse@home.net X-Trace: news1.sttls1.wa.home.com 995308958 24.248.56.237 (Mon, 16 Jul 2001 11:42:38 PDT) NNTP-Posting-Date: Mon, 16 Jul 2001 11:42:38 PDT Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: archiver1.google.com comp.lang.ada:10014 Date: 2001-07-16T18:42:38+00:00 List-Id: I wrote nonsense in message news:P0F47.357734$p33.7248200@news1.sttls1.wa.home.com... > >[snip] > > Alternatively, the declaration could be written this way: > > X := new X_Array_Type (1 .. N) := (others => 0); > What a bunch of crap! I can't belive I wrote that. It must have been before my first cup of coffee this morning. Or, I started writing that line and then went away, and then came back and blew a brain fuse when I resumed typing. Maybe when I went away, it was to get the cup of coffee! What one *could* write (not that you'd want to, but it illustrates the language concept I was trying to highlight), is: X : new X_Array_Type (1 .. N); begin X := (others => 0); . . Doh! Sheesh... -- mark