Re: From Minimize to Maximize the Lasagna with LC (='.'=) [SOLVED]
Posted: Fri May 04, 2018 6:35 pm
Questions and answers about the LiveCode platform.
https://forums.livecode.com/
Well If I used my handler that quickly I'm sure my eggs would get boiled: and, of course thejust about enough time to boil an egg
That's odd, I didn't notice anything normal round here.We return you now to your normal discussion
Code: Select all
wait SEX secs without waitingJust avoid it!richmond62 wrote: Fri May 04, 2018 7:28 pmAt the risk of sounding sensible (!): how can one prevent a wait statement from being a blocker?
Code: Select all
on mouseUp
ask "Time in minutes?"
put it into MINZ
put (MINZ * 60) into SEX
set the width of stack "COOKING" to 2
set the height of stack "COOKING" to 2
set the loc of stack "COOKING" to -10,-10
send "the_eggs" to me in SEX secs
end mouseUp
command the_eggs
set the width of stack "COOKING" to 1024
set the height of stack "COOKING" to 780
set the loc of stack "COOKING" to the screenLoc
end the_eggsThanks, Klaus.Just avoid it!
What, and ruin your record?At the risk of sounding sensible (!):
It does indeed sound like it is a recipe for a 'spicy meatball'....erm, egg...yah, thats it, egg...Mariasole wrote: Fri May 04, 2018 3:20 pm It will certainly be some nasty concept!![]()
In fact, Richmond has also included "SEX" in its code.![]()
That is an eggcellent point Jacquejacque wrote: Fri May 04, 2018 6:07 pm Sorry to interrupt the egg discussion, but I wouldn't use Richmond's handler. The "wait" command is blocking and will prevent any other use of LC during that time. And in some cases it will also block all background OS activity too.
In other words, better to 'boil your eggs' than to 'boil over' eh? And what ever you do, don't get a boil on your eggsrichmond62 wrote: Fri May 04, 2018 6:58 pm I don't know anyone who can multi-task while they are "boiling their eggs".