I've been away from DBP for a while but started to miss it's simplicity, so I came back to it but have become immediately disheartened by its failure!
These very few lines of code fail:
type tVec3
x as float
y as float
z as float
endtype
type tObj
ID as int
pos as tVec3
angle as tVec3
endtype
The error I get is "Declaration invalid at line:
(this one: type tObj)"
My initial thought was that the compiler was seeing the keyword
TO in
tObj, so I changed it but the error is still the same no matter what I call it.
Any suggestions?