Why this -identifer- it's rezerved ?
#1

Hello guys. I've found a "bug" .. ( I don't know if it is a bug , but needs attention ) . If you try to define a variable , with the name state , you'll get errors. Why ?

Example :

pawn Код:
//top of script
new state;
Error

D:\MoroJr\MoroJr S\gamemodes\morojr.pwn(89) : error 020: invalid symbol name ""
D:\MoroJr\MoroJr S\gamemodes\morojr.pwn(55782) : warning 203: symbol is never used: ""
Reply
#2

Quote:
Originally Posted by MoroJr™
Hello guys. I've found a "bug" .. ( I don't know if it is a bug , but needs attention ) . If you try to define a variable , with the name state , you'll get errors. Why ?

Example :

pawn Код:
//top of script
new state;
Error

D:\MoroJr\MoroJr S\gamemodes\morojr.pwn(89) : error 020: invalid symbol name ""
D:\MoroJr\MoroJr S\gamemodes\morojr.pwn(55782) : warning 203: symbol is never used: ""
Probably because that is reserved word in pawno

Like you cant put this

pawn Код:
new for;
EDIT: I did not see the subject of topic. You are asking why is this reserverd. I have no idea
Reply
#3

I saw it's rezerved , but i don't know why ...

GetPlayerState
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)