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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,bc2c82b1e5c6fe83 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.204.150.90 with SMTP id x26mr573173bkv.6.1330200086918; Sat, 25 Feb 2012 12:01:26 -0800 (PST) Path: t13ni69499bkb.0!nntp.google.com!news1.google.com!goblin2!goblin.stu.neva.ru!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Question about out parameters of unconstrained array type. Date: Sat, 25 Feb 2012 20:01:26 +0000 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="dFCm8HWntFqmDIilBLqEJQ"; logging-data="15890"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/vMc4iq5EK/DM+EMLltXA4bTLOgruRdaQ=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (darwin) Cancel-Lock: sha1:o8W3hI4obH/MnOQknVIt7riIvZg= sha1:J3UTiACPA/Wl013MnfJC5tHCuGA= Content-Type: text/plain; charset=us-ascii Date: 2012-02-25T20:01:26+00:00 List-Id: Phil Thornley writes: > If you change this to: > > for I in Integer range 1 .. S'Length loop > > there is no syntax or semantic error reported. There should be, shouldn't there? replace 1 by S'First. Would SPARK accept for I in S'Range loop ?