8 hours passed already since I tried to set this thing up... No result [img]/ubbthreads/images/icons/frown.gif[/img] Guys, could you please share your wisdom with me?
Here's the thing:
I set up a basic list box object with items like:
1::1
2::2
10::10
etc::etc
Those listbox items/values on selection act like "set up %counter% value" to do some macro stuff (if set to 10 - then loop 10 times, etc). Then I have a button which starts the loop thing based on %counter% value on mouse click: first it sets %loop%=0 and then while %loop%<%counter% it does macro and evaluates %loop%+1 to make %loop%=%counter% (end while)... But it provides infinite loop... [img]/ubbthreads/images/icons/frown.gif[/img] I tried "<>" and "!=" - all the same [img]/ubbthreads/images/icons/frown.gif[/img] I want to know where's my mistake... Also I would like to know how to zero %loop% value when %counter%=%loop% (ie macro completed).
Here's the thing:
I set up a basic list box object with items like:
1::1
2::2
10::10
etc::etc
Those listbox items/values on selection act like "set up %counter% value" to do some macro stuff (if set to 10 - then loop 10 times, etc). Then I have a button which starts the loop thing based on %counter% value on mouse click: first it sets %loop%=0 and then while %loop%<%counter% it does macro and evaluates %loop%+1 to make %loop%=%counter% (end while)... But it provides infinite loop... [img]/ubbthreads/images/icons/frown.gif[/img] I tried "<>" and "!=" - all the same [img]/ubbthreads/images/icons/frown.gif[/img] I want to know where's my mistake... Also I would like to know how to zero %loop% value when %counter%=%loop% (ie macro completed).
Comment