[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] infinite loop in commentary window



PureBytes Links

Trading Reference Links

G,

There is a preference setting named 'Enable loop termination by
SHIFT+BREAK' and a further setting that specifies the frequency with
which the system checks for these key strokes, I think the the default
is 50.

To terminate the loop open the commentary window and hold down the
SHIFT key and then press the BREAK key.

Also ensure  your endless loop threshold is set to a minimum of
10000. This will cause the loop to exit after 10000 iterations.


Regards,
William Peters
www.amitools.com




Wednesday, November 3, 2004, 7:54:35 AM, you wrote:



g> Hi all,

g> I was trying to write a FOR loop in commentary window and while 
g> testing i inadvertently  set the loop variable within the loop as 
g> follows:

g> for (i=0;i<5;i++)
g> {
g> i=0;

g> ...other code
g> }

g> This created an infinite loop which froze Amibroker. I terminated 
g> it, but now each time i open commentary window, Amibroker freezes. 
g> Is there any way of recovering from this problem. I dont mind losing
g> the code in Commentary window.

g> Thanks a lot
g> G



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/