Weird errors generated by stocking with some capital letters? -
Dragonsaurus - 21.11.2013
pawn Код:
stock Test(a) return a; // No error
stock Test(A) return A; // No error
stock Test(b) return b; // No error
stock Test(B) return b; // Error: 010: Invalid function or declaration.
stock Test(B) return B; // Crashes the compiler.
Same thing happens with letters: B, G, O, R, W, Y.
So, is it happening only to me, or anyting related to inner design of PAWN?
Re: Weird errors generated by stocking with some capital letters? - Emmet_ - 21.11.2013
Variables in PAWN are case sensitive.
Re: Weird errors generated by stocking with some capital letters? -
Mauzen - 21.11.2013
Try putting the return in proper braces. Id guess the abnormaility is rather caused by this, as a result of a previous error.
Re: Weird errors generated by stocking with some capital letters? -
summer10 - 28.11.2013
case sensitive i agree with emmet