Jump to content
Sign in to follow this  
aGorilla

Structs? Hashes? Variable variable names?

Recommended Posts

aGorilla

I'm starting to pile up on the globals, and that just feels wrong. Is there any way to emulate structs or hashes, or can you use variables in a variable name somehow?

Thanks in advance.

Share this post


Link to post
Share on other sites
SmOke_N

I'm starting to pile up on the globals, and that just feels wrong. Is there any way to emulate structs or hashes, or can you use variables in a variable name somehow?

Thanks in advance.

Passing parameters and using Local vars to substitute rather than one long script can ease some of the tension.

There are Enum options but for the most part to make a struct Var, you'd be making an Array in AutoIt. Just keep them classed with 1 2 or how ever many dimensions you are using and make nice comments to keep track of them.


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.