20.11.2016, 12:06
There get replaced from the pre-compiler to constants..for example:
PHP код:
//Before pre-compiler
enum x
{
a,
b
};
new test[x];
test[a] = 5;
test[b] = 6;
//After pre-compiler
new test[2];
test[0] = 5;
test[1] = 6;