Regarding multiple variables in an enum
#1

Not sure if they are called multiple variables but here is what I mean

PHP код:
enum things
{
    
thing1,
    
thing2[5]

Thing2 is a string right? But how to write it so I can use it like this.

PHP код:
thing2[0], thing2[1
Normally I use
PHP код:
new thing2[3]; 
Also

PHP код:
things[id][thing2[1]] 
?
Reply


Messages In This Thread
Regarding multiple variables in an enum - by AndreiWow - 08.02.2017, 13:38
Re: Regarding multiple variables in an enum - by Dayrion - 08.02.2017, 13:42
Re: Regarding multiple variables in an enum - by AndreiWow - 08.02.2017, 13:45
Re: Regarding multiple variables in an enum - by Dayrion - 08.02.2017, 13:56
Re: Regarding multiple variables in an enum - by GoldenLion - 08.02.2017, 14:22

Forum Jump:


Users browsing this thread: 2 Guest(s)