Sign in to follow this  
Followers 0
acecase

wheres the ++

3 posts in this topic

#1 ·  Posted (edited)

Hey,

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

Share this post


Link to post
Share on other sites



Acecase,

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

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

thanks

my update must not have posted emediately but that is where i found it

Share this post


Link to post
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
Sign in to follow this  
Followers 0