quimber Posted October 21, 2008 Posted October 21, 2008 Hello Fellows. Isnt there any form for calculator in AutoIt ? How can i do this: $var = +1 My script is like this: Func 1() if $var <= 1 then Statement Elseif $var = 2 then Statement Elseif $var = 3 then Statemen .... Endfunc
muncherw Posted October 21, 2008 Posted October 21, 2008 (edited) To increment a variable just make it equal to itself plus whatever you want to add, like: $var = $var +1 Edited October 21, 2008 by muncherw Other People's Stuff:Andy Flesner's AutoIt v3: Your Quick Guide[topic="34302"]Locodarwin's ExcelCom_UDF[/topic][topic="61090"]MrCreatorR's Opera Library[/topic]
LimeSeed Posted October 21, 2008 Posted October 21, 2008 Thank you works great now unfortunately unlike java and c++ and other languages, you can't just use$var++ global $warming = true
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