Bug
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Bug
I understand LiveCode is meant to be live but how do you actually stop it from being live? I have a timer set up that displays an alert every second and I can't stop it. This is probably the reason other languages don't use this development model..
Any way to stop this or is this just an unfortunate flaw in the design?
Any way to stop this or is this just an unfortunate flaw in the design?
Re: Bug
It's a simple function that calls itself every second.
If I call that, it will go on forever. I basically just need some way to disable or reset a program without force closing the LiveCode process?
Code: Select all
on randomFunction
answer "test"
send randomFunction to me in 1 second
end randomFunction
Re: Bug
Hi xlite...
One way to get out of such a predicament...
be well
Dixie
One way to get out of such a predicament...

Code: Select all
on mouseUp
randomFunction
end mouseUp
on randomFunction
if the optionKey is down then
beep
exit to top
end if
add 1 to fld 1
send "randomFunction" to me in 1 sec
end randomFunction
Dixie
Re: Bug
So if I don't add this code, the only way out is to force close LiveCode? Great..Dixie wrote:Hi xlite...
One way to get out of such a predicament...![]()
be wellCode: Select all
on mouseUp randomFunction end mouseUp on randomFunction if the optionKey is down then beep exit to top end if add 1 to fld 1 send "randomFunction" to me in 1 sec end randomFunction
Dixie
Re: Bug
I thank you for taking the time to help but I meant what do I do if I accidently create a loop of "answer" commands accidently and don't have access to the code panel or the save button, surely there must be a way to turn off the live feature so that I don't have to force close and lose my unsaved work?Dixie wrote:Xlite...
You asked... You created an infinite loop and you wanted a way to get out of it ...
Dixie