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 

variable doesn't count

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





PostPosted: Tue Dec 15, 2009 8:18 pm    Post subject: variable doesn't count Reply with quote

Hello,

gemiddeldetemp = %Outputvar% + 1
Msgbox, %gemiddeldetemp%

give "0.50 + 1"

i think he see %Outputvar% as a string. Can i convert this to a integer?
Back to top
DevX



Joined: 07 Jan 2009
Posts: 43

PostPosted: Tue Dec 15, 2009 8:38 pm    Post subject: Reply with quote

Use := not =

and no % for outputvar


gemiddeldetemp := Outputvar + 1
Msgbox, %gemiddeldetemp%
Back to top
View user's profile Send private message
rubsie
Guest





PostPosted: Tue Dec 15, 2009 8:57 pm    Post subject: Reply with quote

thanx
Back to top
Display posts from previous:   
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