Print enum variables.
#1

I have a pretty big enum and I want to print all it variables.

For example:

pawn Код:
enum
{
Kills,
Deaths,
Money,
PlayTime
}
I want a code that prints:
Kills
Deaths
Money
PlayTime



I know we can use enum loop to get the enum values, but I don't know how to do it to get the enum variables. Is it possible ?
Reply


Messages In This Thread
Print enum variables. - by AhEaD_ - 29.07.2011, 08:16
Re: Print enum variables. - by Godhimself - 29.07.2011, 08:46
Re: Print enum variables. - by AhEaD_ - 30.07.2011, 22:13
Re: Print enum variables. - by CaHbKo - 01.08.2011, 10:21

Forum Jump:


Users browsing this thread: 6 Guest(s)