Hi my friends ,
:o) I have a little strange error , but there is no error in the code.
Function data_types()
type my_party <----- THE ERROR INDICATES HERE IN COMPILER
x as integer `my party x on the map
y as integer `my party y on the map
direction as integer `my party direction 1:North 2:south 3:East 4:West
level as integer `my party is on the level
ENDTYPE
global party as my_party
ENDFUNCTION
The code above is correct but when I compile , I am taking a
Declaration is not valid at line 5
I don't have an error , I just call the type initialize from a function.
assume the string <----- THE ERROR INDICATES HERE IN COMPILER is not exist in the code , I just put it here to indicate where the error highlights.
Where is the problem? is this a bug?