comp.lang.ada
 help / color / mirror / Atom feed
From: Trish Cayetano <trishacayetano@gmail.com>
Subject: Error "exception not permitted here" when putting EXCEPTION in a loop
Date: Fri, 17 Jul 2015 08:47:02 -0700 (PDT)
Date: 2015-07-17T08:47:02-07:00	[thread overview]
Message-ID: <db4edc22-34ef-4f09-b2b4-65f7ba00540b@googlegroups.com> (raw)

Hi, 

I am getting error "exception not permitted here" when running below in a loop. 
Well it runs if I put it outside the loop but I need it inside the loop... 

           exception
            when ADA.IO_EXCEPTIONS.DATA_ERROR =>
            Ada.Text_IO.Put_Line ("Try a number from 1 to 4, Buddy");

Thanks in advance for your help...


             reply	other threads:[~2015-07-17 15:47 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-17 15:47 Trish Cayetano [this message]
2015-07-17 15:56 ` Error "exception not permitted here" when putting EXCEPTION in a loop 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
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