Jump to content

Recommended Posts

Posted

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.

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
×
×
  • Create New...