|
7/31/2008 1:29:35 PM
|
thebrainlab Posts 2
|
Hi Forum/programmers,
Great software, this has already helped me bunches. One question though- I've created a macro which uses 2 separate REPEATs, i.e. a REPEAT (10x) which includes within it a REPEAT (16x) for a different process, then I'd like it to cycle back to the original REPEAT (10x) and re-run the REPEAT (16x), nine more times. After some testing, I think the problem I'm running into is that the REPEAT counter which runs during the REPEAT (16x) process does not reset after it has repeated 16 times, so that when the macro cycles back to the REPEAT (10x) statement the counter is on 17 and does not run the statements after a "IF iteration = 2" (which refers to the REPEAT 10x). Does this make sense? I could attach my test script if not. I am just wondering if I am correct that the counter does not ever reset while a macro runs, and if there is a way to tell it to reset.
Thanks! - Josh
|
|
8/2/2008 3:36:46 PM
|
 jitbit Posts 712
|
the "if current iteration equals" statement, when used inside a nested loop, counts ALL repeats, not just the inner loop... Do you think we should change that?
|
|
8/6/2008 3:48:51 PM
|
thebrainlab Posts 2
|
Hmm... yes, I think my two cents would be that changing that would make the program a bit more efficient, for my purposes. I can't really think of any reason that it would not be desirable for the "if current iteration equals" statement to just count the repeats within each separate loop, so hopefully it isn't too difficult to institute, if you decide that it makes sense. Also wanted to expand and update my previous comments by saying that after a few more days with it, I'm literally amazed at how versatile/powerful this software is and I make very little exaggeration when I say it could literally replace an employee in my research lab. For a small office without programmers on staff to create programs for simple computing processes, I think this is going to prove to be essential. Thanks!
|
|
pages:
1 |