Jump to content

wheres the ++


Recommended Posts


Please look over me being a newb both to autoit and to this type of scripting in general.

I have dug through the help file included with autoit 3 and its a great help file but I can't seem to find any math funtions exept for the binary stuff (and or etc) and random. I am looking for a way to increment a variable (like (var++) in C++)

I'm sure there is a simple way that I have overlooked.

Thanks in advance for any help offered.

Sorry for the cluster .. i just stumbled on to my owne anser while looking into loops in the help file.

Couldn't be more simple $var = $var + 1

whoda thought.

Edited by acecase
Link to comment
Share on other sites

  • Developers


When you open the helpfile, scroll tru the page it opens on... it explains the variables..

Should be something like:

$var = 0 ; first define the variable

$var = $var + 1 ; then make calculations


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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...