13.02.2013, 11:38
Quote:
There's something I can't get to understand with enums. Observe the following code:
Code:
enum examples { ex_1, ex_2 } new array[examples]; |
array[0] <= script reads it as the first cell of the variable 'array'
array[examples:0] <= script reads it as first var of enum 'examples' which is stored in the variable 'array'
Not sure if the language is 100% right but I hope you understand what I'm saying.