I just came across this very strange error... Here's the code that reproduces it:
type player_type
PathEndFrame as word
endtype
global Player as player_type
Player.PathEndFrame=1
if Player.PathEndFrame>1 then a=1
And here is the error after compiling:
Quote: "Could not find field "Pa" in type "player_type" at line 8"
Here's a quote from someone answering to this problem:
Quote: "I suspect it is a compiler bug that is reading the line as:
if Player.Pa thEn dFrame>1 then a=1
Since the word Then would be valid statement following the If statement. The compiler should take into account spacing, but it appears that it is not."
TheComet