comp.lang.ada
 help / color / mirror / Atom feed
From: Niklas Holsti <niklas.holsti@tidorum.invalid>
Subject: Re: Error "exception not permitted here" when putting EXCEPTION in a loop
Date: Sat, 18 Jul 2015 21:11:58 +0300
Date: 2015-07-18T21:11:58+03:00	[thread overview]
Message-ID: <d0vj7dF502vU1@mid.individual.net> (raw)
In-Reply-To: <geukqahlnjeltg8i4dk5mjs5j6cfesa9ik@4ax.com>

On 15-07-18 19:09 , Dennis Lee Bieber wrote:
> On Sat, 18 Jul 2015 07:32:10 -0700 (PDT), Trish Cayetano
> <trishacayetano@gmail.com> declaimed the following:
>
>>
>> Well which reminds me! I added a SKIP_LINE... The expected output is close... It shows the exception error every other input... it waits for 2 inputs and then 1 input and then 2...
>>
> 	The end of line is a non-numeric also for the integer get... So you
> have to skip past that also...

No, integer Get _starts_ by skipping leading blanks, line terminators, 
and page terminators. You can do a sequence of integer Gets without 
Skip_Lines in between.

See http://www.ada-auth.org/standards/12rm/html/RM-A-10-8.html.

-- 
Niklas Holsti
Tidorum Ltd
niklas holsti tidorum fi
       .      @       .

  reply	other threads:[~2015-07-18 18:11 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-17 15:47 Error "exception not permitted here" when putting EXCEPTION in a loop Trish Cayetano
2015-07-17 15:56 ` David Botton
2015-07-17 15:58 ` G.B.
2015-07-18  8:14   ` Trish Cayetano
2015-07-18 10:08     ` Björn Lundin
2015-07-18 12:41       ` Trish Cayetano
2015-07-18 13:56         ` Björn Lundin
2015-07-18 14:08           ` Niklas Holsti
2015-07-18 14:56             ` Björn Lundin
2015-07-18 14:32           ` Trish Cayetano
2015-07-18 14:59             ` Björn Lundin
2015-07-18 16:09             ` Dennis Lee Bieber
2015-07-18 18:11               ` Niklas Holsti [this message]
2015-07-18 21:16                 ` Dennis Lee Bieber
2015-07-17 16:02 ` Björn Lundin
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox