25.09.2011, 19:55
Hi mate I know what you mean, but you can relax there no pointers here .
What I have found is, although new var; works for integers and probably some
others without specifying type (as is fairly common in scripting), string need to be declared
like:
new string[64]; // 64 being how many characters.
Or
new string[] // No size specified, I think this is valid.
If you want to know more about PAWN specifically, their website has
a pdf document you can download, it should answer most questions where
there is confusion about differences of your usual environment and this one.
What I have found is, although new var; works for integers and probably some
others without specifying type (as is fairly common in scripting), string need to be declared
like:
new string[64]; // 64 being how many characters.
Or
new string[] // No size specified, I think this is valid.
If you want to know more about PAWN specifically, their website has
a pdf document you can download, it should answer most questions where
there is confusion about differences of your usual environment and this one.