I have hit a wall with trying to get this script to work.
I need to call this Label>SelectConts again but as you can see it it will go into a infinite loop.
It there a way maybe to use “Repeat/Untilâ€
Looping Issue
Moderators: JRL, Dorian (MJT support)
-
- Pro Scripter
- Posts: 132
- Joined: Mon Dec 22, 2008 4:56 pm
- Location: St Augustine FL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
If Counter is larger than NumTimesToLoop your loop will never end. Or if one is a number and one a string it will also never end.
After the Add>Counter,1 line set a breakpoint and see what the values of Counter and NumTimesToLoop are.
After the Add>Counter,1 line set a breakpoint and see what the values of Counter and NumTimesToLoop are.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
-
- Pro Scripter
- Posts: 132
- Joined: Mon Dec 22, 2008 4:56 pm
- Location: St Augustine FL
Looping Issue
Marcus,
Thanks for your thought.
I thought I had a looping problem but it really was my If statement.
I was able to fix my problem with a If/Else
Thanks again.
Gilc
Thanks for your thought.
I thought I had a looping problem but it really was my If statement.
I was able to fix my problem with a If/Else
Thanks again.
Gilc