1. Stuck in an infinite loop
		
			- Posted by dstanger at belco.bc.ca
			May 16, 2001
 
			
					
		
Hello,
I have inadvertantly created an infinite loop in one of my programs and
became stuck in it when I ran it. I am used to pushing ctrl + break when
this happens in Qbasic which returns you safely to the code editor but when
I attempted this using Euphoria my computer crashed. What does one do to
stop the program and return to the editor? I am using CS:EE for an editor
and the public domain edition of Euphoria if that is necessary information.
Thanks,
David
		
	 
	
		
		2. Re: Stuck in an infinite loop
		
		
Howdy David!
----- Original Message -----
From: <dstanger at belco.bc.ca>
To: "EUforum" <EUforum at topica.com>
Subject: Stuck in an infinite loop
> What does one do to
> stop the program and return to the editor? I am using CS:EE for an editor
> and the public domain edition of Euphoria if that is necessary
information.
Try CTRL+C.  That should shut the program down, *unless* you set
allow_break() to 0, in which case you might be up the proverbial creek
without the proverbial paddle.
I'm not sure that the act of pressing CTRL+BREAK locked up your system
(although it could have).  Rather, your memory might have been overrun by
whatever action your program was performing while caught in the loop.
Travis Beaty
Claude, Texas.
		
	 
	
		
		3. Re: Stuck in an infinite loop
		
		
> I wrote:
> > I'm not sure that the act of pressing CTRL+BREAK locked up your system
> > (although it could have).  Rather, your memory might have been overrun
> > by
> > whatever action your program was performing while caught in the loop.
And in response, Sepiroth_ wrote:
> oh it did. i speak from experience, too. no version of wind0wz is safe
> from this. it's even documented in TROUBLE.DOC
Aw, nuts!  You're right!  There it is in the docs, big as Dallas.  Thanks
for setting me straight on that one.  I suppose that's what happens when I
try to answer a question on my lunch break.
Travis Beaty
Claude, Texas.