depending on what version you have theres a readme file thats sitting right next to the executable and guess what!? it has info on that subject.
* Implemented TYPEs pre-processor Format:
TYPE player_info
x,y,name$
inventory#(10)
ENDTYPE
DIMTYPE player_info,player,enemies(20)
PRINT player.name$
PRINT enemies(15).inventory#(2)
Notes: DIMTYPES can only be single variables or single dimension arrays. Elements within a TYPE definition can be up to FOUR dimensions.
All elements are global.
The pre-processor will not catch the following error:
TYPE t1
v(20)
ENDTYPE
DIMTYPE t1, instance
instance.v(10,10) = 0 : rem An extra dimension added!
However, DarkBASIC *WILL* complain about the extra dimension. For speed, the pre-processor doesn't try to parse what comes after the paren in elements.