Jump to content
Sign in to follow this  
Guest Luckyjava

Need Help For Changing Variables

Recommended Posts

Guest Luckyjava


I´ve a problem. I would like to make this:





now I would like to change the 1 behind variable into a 2.

So if the program repeats the For(... , it shall use the second variable (2*4).

In Java, I would make it with Arrays. In AutoIT 2.64 I´ve used another variable for the number, but this is not possible in AutoIt3.

The numbers are unimportant, only to show the problem.

Share this post

Link to post
Share on other sites

lost me there, but you can use arrays in AutoIt3

Dim $variable[3]; a 3 element/dimention variable or array if you like

for $i = 0 To 2; this is 3 elements
msgbox(1,"answer is",$x)

AutoIt3, the MACGYVER Pocket Knife for computers.

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...