12.03.2010, 17:28
Simple Question, can i declare constant array? And How?
I tried:
but it gives: error 001: expected token: "=", but found "["
I also tried:
but it gives: error 008: must be a constant expression; assumed zero
When i declare a constant variable (example const var = 5 it doesn't give me error's
Am i doing something wrong?
I tried:
pawn Код:
const Array[5] = {1,2,...};
I also tried:
pawn Код:
new const Array[5] = {1,2,...};
When i declare a constant variable (example const var = 5 it doesn't give me error's
Am i doing something wrong?