 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
delcolt Guest
|
Posted: Fri Aug 20, 2004 3:24 pm Post subject: adding to variables |
|
|
if i want to add 1 to a variable, how do i do it? i want to make it type 1000, then 1001, then 1002 etc.
help plz? |
|
| Back to top |
|
 |
beardboy
Joined: 02 Mar 2004 Posts: 444 Location: SLC, Utah
|
Posted: Fri Aug 20, 2004 3:42 pm Post subject: |
|
|
| Code: | variable = 1000
Loop, 5
{
MsgBox, variable = %variable%
; variable++ ; You can use this to plus the variable by 1
variable += 1 ; Or this
} |
thanks,
beardboy |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|