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.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,502eafcf316bcb10 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-12-16 02:37:08 PST Newsgroups: comp.lang.ada Path: nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!rutgers!sgigate.sgi.com!sgiblab!spool.mu.edu!bloom-beacon.mit.edu!uhog.mit.edu!news.mathworks.com!hookup!olivea!uunet!zib-berlin.de!news.th-darmstadt.de!terra.wiwi.uni-frankfurt.de!zeus.rbi.informatik.uni-frankfurt.de!news.dfn.de!news.belwue.de!fht-mannheim!roxi.rz.fht-mannheim.de!duz From: duz@roxi.rz.fht-mannheim.de (Dirk Zoller) Subject: Re: Ada can't initialize (aggregate) array of length 1? References: <1994Dec12.081230.24978@roxi.rz.fht-mannheim.de> <3clobf$r0p@gnat.cs.nyu.edu> Sender: news@roxi.rz.fht-mannheim.de (NEWS - system account) Organization: Fachhochschule fuer Technik, Mannheim (FRG) Date: Fri, 16 Dec 94 11:37:08 CET X-Newsreader: TIN [version 1.2 PL2] Message-ID: <1994Dec16.113708.28668@roxi.rz.fht-mannheim.de> Date: 1994-12-16T11:37:08+01:00 List-Id: Robert Dewar (dewar@cs.nyu.edu) wrote: : "I use GNAT v 2.0 on OS/2" : really? that's surprising, because GNAT goes out of its way to give : a clear error message here: : 3. shapes: constant array (1..1) of stone := ("[]"); : | : >>> positional aggregate cannot have one component You're right. In fact the array I really used was 3-dimensional. In that case the error message was misleading. (I mailed details to Robert.) Thanks for your comments. Guess I grok this point (initializers for arrays length 1) now. Dirk --- duz@roxi.rz.fht-mannheim.de