Normal Topic Killing an Endless Loop (Read 780 times)
Infinity
Senior Member
Members
*****
Offline


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
Killing an Endless Loop
Aug 8th, 2007 at 7:27pm
Print Post Print Post  
What is the preferred key combo to break out of an Endless Loop in Sesame 2.0?
  

**
Captain Infinity
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Killing an Endless Loop
Reply #1 - Aug 8th, 2007 at 7:56pm
Print Post Print Post  
Try Ctrl+Shift+End.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
Infinity
Senior Member
Members
*****
Offline


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
Re: Killing an Endless Loop
Reply #2 - Aug 8th, 2007 at 8:13pm
Print Post Print Post  
Thank you.  I'll keep it handy.  (I had no loop today, but I was contemplating trying something weird, and the possibility existed that I might create one.)
  

**
Captain Infinity
Back to top
IP Logged
 
Infinity
Senior Member
Members
*****
Offline


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
Re: Killing an Endless Loop
Reply #3 - Sep 5th, 2007 at 7:19pm
Print Post Print Post  
I threw myself into an endless loop today, in Preview.  This did it when I went into search/update:
Code
Select All
On-Retrieve-Spec-Open

Var vNewSearch as Int

// Changes the colors and functions of the GO Button depending on the mode
// See also On-Form-Open

// Search Mode

IF @Mode() = 2
	{
	Label(GO_Button, "Get It!")
	RGBColor(GO_Button, 0, 0, 0, 179, 255, 255)    // Black text on light Blue
	vNewSearch = @SelectTreeItem("Search Menu!Search Commands!Retrieve New Results (F10)")
	} 


I realized right away that the SelectTreeItem call should have been on-element-entry.  Yikes!

Unfortunately, Ctrl+Shift+End did not break me out; I had to kill the app with Task Manager.
  

**
Captain Infinity
Back to top
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: Killing an Endless Loop
Reply #4 - Sep 5th, 2007 at 7:24pm
Print Post Print Post  
Hello Scott,

That alone would not cause an endless loop. It would simply retrieve records as soon as you entered search mode. So if you hit F7, it would hit F10. But unless you had code on Form Entry that was selecting F7 that would not be an endless loop.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Infinity
Senior Member
Members
*****
Offline


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
Re: Killing an Endless Loop
Reply #5 - Sep 5th, 2007 at 7:37pm
Print Post Print Post  
Quote:
But unless you had code on Form Entry that was selecting F7

That's precisely what was happening, sorry, wrong code.  I programmed all 3 states at the same time.

I've put it all into on-element-enter now.
  

**
Captain Infinity
Back to top
IP Logged