14.01.2011, 21:49
enum ABC{
a[2],
b[32]
};
new vector[ABC];
main(){
vector="a";
}
While the actual size of vector is 40 cells, and needed is 2 it gives an error about having a too small array.
Can anyone help me with this, as I maybe just make mistakes in the syntax.
Btw, try this out :
#define cout<<%1; print(%1);
a[2],
b[32]
};
new vector[ABC];
main(){
vector="a";
}
While the actual size of vector is 40 cells, and needed is 2 it gives an error about having a too small array.
Can anyone help me with this, as I maybe just make mistakes in the syntax.
Btw, try this out :
#define cout<<%1; print(%1);