Alrighty, how do I do arrays?
Displaying 1-3 of 3 total.
1
Please enter a numerical value for the importance of this sticky.
Enter 0 to unsticky.
blues_zodiakos

It's driving me insane, hehe. I've tried

dim ZML_Menuselection(10);
dim ZML_Menuselection{10};
dim {ZML_Menuselection(10);}

and many more, I've even tried the AssignArray command in just as many configurations. Each time it throws out an error saying it was expecting a variable or function declaration and to check my braces (which is why I tried crazy braces). I'm pretty sure now I'm just using the wrong command or in the wrong way. Does anyone know how?

Posted on 2004-02-17 00:03:18

Gayo

Arrays use the format type arrayname[numelements];

For example: int flags[NUM_FLAGS];

You also can't declare arrays locally, but it doesn't sound like that's your problem.

Posted on 2004-02-17 00:25:23

blues_zodiakos

Thanks, that was exactly what I was looking for. :D

Posted on 2004-02-17 00:38:17


Displaying 1-3 of 3 total.
1
 
Newest messages

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.