https://www.youtube.com/watch?v=k4khxeru5hs
From Minimize to Maximize the Lasagna with LC (='.'=) [SOLVED]
Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller
-
richmond62
- Livecode Opensource Backer

- Posts: 10428
- Joined: Fri Feb 19, 2010 10:17 am
Re: From Minimize to Maximize the Lasagna with LC (='.'=) [SOLVED]
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
handler's blocking: I don't know anyone who can multi-task while they are "boiling their eggs".
-
richmond62
- Livecode Opensource Backer

- Posts: 10428
- Joined: Fri Feb 19, 2010 10:17 am
Re: From Minimize to Maximize the Lasagna with LC (='.'=) [SOLVED]
That's odd, I didn't notice anything normal round here.We return you now to your normal discussion
And, re blocking handlers: I don't know what anyone expected from
a quick-n-dirty stack dreamt up in about 10 minutes.
Try this:
Code: Select all
wait SEX secs without waitingCertainly does NOT work.
_______________________
Or, as the first programmer said to the second programmer at a certain point in the evening:
"Let's get object-based."
_______________________
At the risk of sounding sensible (!): how can one prevent a wait statement from being a blocker?
Re: From Minimize to Maximize the Lasagna with LC (='.'=) [SOLVED]
Just 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_eggs-
richmond62
- Livecode Opensource Backer

- Posts: 10428
- Joined: Fri Feb 19, 2010 10:17 am
Re: From Minimize to Maximize the Lasagna with LC (='.'=) [SOLVED]
Thanks, Klaus.Just avoid it!
Re: From Minimize to Maximize the Lasagna with LC (='.'=) [SOLVED]
What, and ruin your record?At the risk of sounding sensible (!):
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: From Minimize to Maximize the Lasagna with LC (='.'=) [SOLVED]
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".
I really enjoyed the sensibility in this thread, invigorating!

