> Is it possible to use an expression for the number of
> milliseconds in wait.for() and wait.until() ?
> 
> Help says:
> wait.for (n,expression)
> wait.for (n)
> wait.for (expression)
>
Three problems:
The first is that I goofed on the syntax for wait.  To allow you to 
use general expressions, I need to use my internal expression parser 
for the whole statement, and it would have needed the syntax to be:
wait.for (expression, "expression")

The reason is that the second expression has to be evaluated each 
time the wait happens.  But without the quotes, the expression would 
be evaluated once at the start of the wait.

Another problems is that with two plain expressions, there is no way 
to tell wait.for(n) from wait.for(expression).  

A final problem is that wait.until requires special processing and 
cannot go through normal command processing.   I think wait.for does 
not, and in fact I suspect wait.for _will_ work with do.

What I can allow for is
wait.for(expression-without-commas, expression) as the first form 
which means I can parse without using general expression parser from 
start.

In the mean time, try using do.  It may very will work for wait.for, 
as suggested in the other reply to your note.










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