AustrianOak Posted September 4, 2008 Share Posted September 4, 2008 (edited) I know in c++ to increment a variable its like i++; what is it in autoit. I know I could do $i = $i + 1 but whats the way in autoit Edited September 4, 2008 by IWantIt Link to comment Share on other sites More sharing options...
Monamo Posted September 4, 2008 Share Posted September 4, 2008 I know in c++ to increment a variable its like i++; what is it in autoit. I know I could do $i = $i + 1 but whats the way in autoitEither, as you stated: $i = $i + 1 or else $i += 1 GoogleGonnaSaveUs 1 - MoChr(77)& Chr(97)& Chr(100)& Chr(101)& Chr(32)& Chr(121)& Chr(97)& Chr(32)& Chr(108)& Chr(111)& Chr(111)& Chr(107)-------I've told you 100,000 times not to exaggerate!-------Don't make me hit you with my cigarette hand...-------My scripts:Random Episode Selector, Keyboard MouseMover, CopyPath v2.1, SmartRename for XP,Window Tracer[sup]New![/sup] Link to comment Share on other sites More sharing options...
AustrianOak Posted September 4, 2008 Author Share Posted September 4, 2008 thats what i was looking for. thanks Link to comment Share on other sites More sharing options...
Developers Jos Posted September 4, 2008 Developers Share Posted September 4, 2008 I know in c++ to increment a variable its like i++;what is it in autoit. I know I could do $i = $i + 1 but whats the way in autoitThat works in AutoIt3 too, but have you looked in the Helpfile for the answer?Operator Description = Assignment. e.g. $var = 5 (assigns the number 5 to $var) += Addition assignment. e.g. $var += 1 (adds 1 to $var) -= Subtraction assignment. *= Multiplication assignment. /= Division assignment. &= Concatenation assignment. e.g. $var = "one", and then $var &= 10 ($var now equals "one10") SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now