Enumeration Issue - Multidimensional Arrays
#1

Good Morning All!

I'm playing around with making a file system to optimize my server a little more. It was originally using dini as I started the project as a private server for me and a few friends, now it's expanding and file handling is draining my dedicated server of resources.

Just to point out; I probably won't be releasing it - as I know there's already loads of INI systems and the majority of the SAMP community is moving to MySQL.

I have the following enumeration line:
pawn Код:
enum INI_Cache_ENUM {ini_FILENAME[64], ini_KEY[50][64], ini_DATA[50][128]}
(I also have an array for it, but that isn't the issue/concern).

The line I posted above, when compiling, gives the following error:
Код:
error 001: expected token: "}", but found "["
I don't understand why I'm getting that error. What I'm attempting to do, I have actually done before now!

I can guarantee that someone out there will go, THERE IT IS! - That's why I'm posting here!

Thanks,
Ash
Reply


Messages In This Thread
Enumeration Issue - Multidimensional Arrays - by Ash. - 25.09.2011, 08:33
Re: Enumeration Issue - Multidimensional Arrays - by playbox12 - 25.09.2011, 08:38
Re: Enumeration Issue - Multidimensional Arrays - by iJumbo - 25.09.2011, 08:41
Re: Enumeration Issue - Multidimensional Arrays - by Ash. - 25.09.2011, 08:44
Re: Enumeration Issue - Multidimensional Arrays - by playbox12 - 25.09.2011, 08:49
Re: Enumeration Issue - Multidimensional Arrays - by Ash. - 25.09.2011, 08:54

Forum Jump:


Users browsing this thread: 4 Guest(s)