pillbug Posted April 2, 2009 Posted April 2, 2009 Hi, I've been searching, but I can't seem to find if autoit supports arrays of structures. Here is an example in C code. struct stockType { char name[5]; /* Max 5 characters */ int date; /* Current day from 1 to 31 */ double current; /* Current price of the day */ double open; /*Opening price of the day */ }; type def struct stockType Stock; Stock company[100]; for (i=0; i<100; i++) printf("%d", company[i].current); I haven't tested the C code, but this was to just give an idea.
Authenticity Posted April 2, 2009 Posted April 2, 2009 It's not efficient to use array of structures in AutoIt. Use $avArray[100][4] instead.
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