Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Different way to do stats
#18
I know in C# you can get the length of the enum with this:

Code:
enum Stats : byte
        {
            Strength = 1,
            Defense,
            Speed,
            Magic
        }

Code:
int Stat_Count = Enum.GetValues(typeof(Stats)).Length;

But that doesn't help us with vb6 :p
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)