• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Better way of doing this ?
#2
You can just use the name of the enum. This prints the same values:

PHP Code:
printf("NumElements %d, sizeof %d."modessizeof(Modes)); 
Always keep in mind that a lot of people are active on this forum in their spare time.

They are sacrificing time they could easily spend on things they would rather do, to help you instead.

  Reply


Messages In This Thread
Better way of doing this ? - by mouiz - 2019-07-07, 06:38 PM
RE: Better way of doing this ? - by Freaksken - 2019-07-07, 07:04 PM

Forum Jump: