View Single Post
Old 31st May 2005, 02:45   #4
Senior Member
Join Date: Nov 2004
Location: Mumbai ( Bombay ), India
Posts: 143
I think I solved the prob, will have to check it out.

The ( incorrect ) code I was using earlier went someting like this :

while ( condition c == false )

timer.onTimer() // this is function f ( mentioned above)

move drawer 1 step;

if ( something )
set condition c = true;

The prob was that the while would continue looping even before function f was executed. At least that's what I think, correct me if I'm wrong.

Only a newbie like me would have missed the obvious/simple solution, which I haven't yet tested but am 99% sure it will work.

btw, does the MAKI scripting language allow recursion ?


What ?!!! ... you ... errr ... want to know the solution ?
You'll have to ask.
gbr is offline   Reply With Quote