AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

adding to variables

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
delcolt
Guest





PostPosted: Fri Aug 20, 2004 3:24 pm    Post subject: adding to variables Reply with quote

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

PostPosted: Fri Aug 20, 2004 3:42 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group