| View previous topic :: View next topic |
| Author |
Message |
newb Guest
|
Posted: Thu Mar 10, 2005 11:14 am Post subject: Variable for number of loops? |
|
|
is there a variable for the number of loops?
example
| Code: | Loop,100
{
msgbox,,Title,%A_Index% of %thevariableineed% ;what ever that is
} |
So i can enter a variable for the 100 loops? if any of that makes sense?
like.. %loop% or something instead of putting "100"?
thsi si probably a really simple thing ... but simple things are painful
thanks for any help |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10480
|
Posted: Thu Mar 10, 2005 12:16 pm Post subject: |
|
|
No, so it's probably best to assign 100 to a variable and use it in both places:
LoopCount = 100
Loop %LoopCount%
... |
|
| Back to top |
|
 |
|