> 
> wait.for(<expression_to_evaluate>) implies <expression_to_evaluate>
> must be evaluated ever so often.  How often?  Any thoughts on whether
> an event waiting on a condition would be more or less efficient than
> wait.for waiting on same?

wait.for is a loop like this

loopstart:

if condition is true or script cancel flag, quit
if max time has elapsed, quit
process any other PowerPro messages (eg button press, timer, event)
sleep 5 milliseconds

go to loopstart

Events use Windows timers to send a message to PowerPro every n 
milliseconds; at that time the event expression if present is 
evaluated and the event script is executed.

Probably the event evaluates the expression less often.

But I would experiment if I was in a situation where performance 
matter but I still wanted to use PowerPro scripting.







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to