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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8dd8ee71ca4e5206 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-07 01:23:53 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.gamma.ru!Gamma.RU!image.surnet.ru!surnet.ru!news.nl.linux.org!humbolt.nl.linux.org!transit.news.xs4all.nl!not-for-mail From: Fraser Wilson Newsgroups: comp.lang.ada Subject: Re: Newbie question on Ada TExt_IO Date: 07 Oct 2002 10:26:35 +0200 Organization: XS4ALL Internet BV Sender: fwilson@FWILSON Message-ID: References: <93d4dcd4.0210031020.b0cca2b@posting.google.com> <3D9DF4DC.4000105@acm.org> NNTP-Posting-Host: a80-126-24-12.adsl.xs4all.nl X-Trace: news1.xs4all.nl 1033979030 29241 80.126.24.12 (7 Oct 2002 08:23:50 GMT) X-Complaints-To: abuse@xs4all.nl NNTP-Posting-Date: 7 Oct 2002 08:23:50 GMT X-Newsreader: Gnus v5.7/Emacs 20.7 Xref: archiver1.google.com comp.lang.ada:29553 Date: 2002-10-07T08:23:50+00:00 List-Id: Jeffrey Carter writes: > subtype Valid_Number is Integer range 1 .. 6; > N : Valid_Number; > ... > N := Integer'Value (Input (Input'First .. Last) ); Should this be N := Valid_Number'Value (Input (Input'First .. Last)); ? (Pedantor is in the building) Fraser.