Enum tag inside another enum?
#5

- ignore -

Cheers.

For anyone wondering why I want this: I just simply find this a bit more systematic than making 89273489234 macros when assigning values

pawn Код:
// instead of doing this:
#define VAL1 (0)
#define VAL2 (1)

new
    MyVar[ MAX_PLAYERS ]
;

MyVar[ playerid ] = VAL1;
Reply


Messages In This Thread
Enum tag inside another enum? - by LarzI - 19.03.2013, 11:44
Re: Enum tag inside another enum? - by Misiur - 19.03.2013, 12:19
Re: Enum tag inside another enum? - by LarzI - 19.03.2013, 12:22
Re: Enum tag inside another enum? - by Misiur - 19.03.2013, 12:25
Re: Enum tag inside another enum? - by LarzI - 19.03.2013, 14:10

Forum Jump:


Users browsing this thread: 1 Guest(s)