Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How to make a variable delay?

<<timedcontinue>> works only with constants. If I do anything like
<<set  $delay="2s">>
<<timedcontinue $delay>>
I get an error "$delay is not defined". (Actually, I need not even a single variable but an expression, $delay/$ratio)
I changed the script, replacing tm=cssTimeUnit(f[0]) with tm=eval(f[0]), so it now understands constant expressions, like 2000/10 (without 's' or 'ms'), but still does not understand the variables.

Comments

Sign In or Register to comment.