Stupid Programming Question -- thanks for the fine explanation

Erik Hansen erikhans08 at yahoo.com
Wed May 5 14:51:13 EDT 2004


--- Scott Rossi <scott at tactilemedia.com> wrote:

> But if you're talking about Rev, the reason
> you'd include "with messages" is
> to allow other stuff to happen, like being able
> to interrupt your image
> display sequence.  Let's say you wanted to give
> the user an "out" where they
> could simply show all the images and be done
> with it.  Using "wait" by
> itself prevents Rev from doing anything until
> the script is done executing.
> But adding "with messages" allows other
> messages to be sent while the wait
> is taking place.  Using, for example, another
> button script, you could
> interrupt the display script and quickly
> display all the remaining images.
> 
> In your case, using "wait" by itself is
> probably fine.  I was simply
> responding to Rob's comment about avoiding the
> wait command.  In the past, I
> was also one of the proponents against using
> "wait" at all, but somewhere
> along the line, "with messages" was added which
> made for a whole new world
> of waiting.

-- thanks for the fine explanation

=====
erik at erikhansen.org    http://www.erikhansen.org


	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 


More information about the use-livecode mailing list