Error: Array must be indexed.
#1

Hello, earlier today I made a gas leak system.

I have an enum etc, but I'm receiving array should be indexed errors.
Here is an example line that is receiving the error:
Код:
GasInformation[GasType] = 1;
Here is the enum:
Код:
enum glInfo
{
	GasType[3],
    GasObjects[5],
    GasSize = 100,
    GasLeak = false
}
new GasInformation[glInfo];
Reply


Messages In This Thread
Error: Array must be indexed. - by Joshman543 - 11.06.2013, 21:32
Re: Error: Array must be indexed. - by RALL0 - 11.06.2013, 21:40
Re: Error: Array must be indexed. - by Vince - 11.06.2013, 21:47
Re: Error: Array must be indexed. - by Joshman543 - 11.06.2013, 22:35
AW: Error: Array must be indexed. - by HurtLocker - 11.06.2013, 22:41
Re: Error: Array must be indexed. - by iJumbo - 11.06.2013, 23:46

Forum Jump:


Users browsing this thread: 1 Guest(s)