From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Path: eternal-september.org!reader02.eternal-september.org!news.szaf.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Niklas Holsti Newsgroups: comp.lang.ada Subject: Re: Help parsing the language manual on Get'ing integers from Strings Date: Mon, 21 Dec 2020 10:06:47 +0200 Organization: Tidorum Ltd Message-ID: References: <75fbea31-93f7-4b0d-bd73-34c4beefff44n@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: individual.net PE1crbLrkJyuDsUEUFeV+goGbNbE8Hp7uOHTsA/6nZxoRqyWxu Cancel-Lock: sha1:JtkxLn1eQbQu/0Jxz/zhM06bBkk= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 In-Reply-To: Content-Language: en-US Xref: reader02.eternal-september.org comp.lang.ada:60909 List-Id: On 2020-12-21 9:57, Dmitry A. Kazakov wrote: > On 2020-12-21 01:11, John Perry wrote: > >> Sorry if the subject is unclear. I recently tried to use >> >>     Get(S, Value, Last); >> >> ...in a program where Value was a Natural and S has the value "29: 116 >> 82 | 119 24". GNAT gave me a Data_Error. >> ... > I think the problem is that the implementation tries to interpret > >   29: 116 ... > > as a based number. Colon : is a replacement character for # (see > allowable replacements of characters). I see, an "obsolescent feature" in RM J.2. I learn something new every day (I hope). Ok, so no bug.