using "do" forces the compiler to run

Erik Hansen erikhans08 at yahoo.com
Mon Aug 23 18:45:08 EDT 2004


--- "J. Landman Gay" <jacque at hyperactivesw.com>
wrote:
> On 8/20/04 11:04 AM, Richard Gaskin wrote:
> 
> > If one's picky about minimizing typing,
> because most of those are 
> > handled by the engine you can use the case
> block's fall-through feature 
> > to trim the code -- this version also handles
> "Select All" for objects:
> > 
> > on menuPick which
> >    switch which
> >    case "Cut"
> >    case "Copy"
> >    case "Paste"
> >    case "Undo"
> >      do which
> 
> Picky purist point: using "do" forces the
> compiler to run and can slow 
> the script, which is why I use the redundant
> form.

any more (is compiling) tips re: 
send, move,  wait, waiting lock etc?
i am trying to get precise movements
to set intervals
with a +- 1 millisecond tolerance.

send is working well,
move varies 10-20 milliseconds.
maybe the compiler is a factor?

Thank You,

Erik Hansen

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


		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 


More information about the Use-livecode mailing list