I recieved DBpro for Christmas but have been having some trouble with my old DBA files. I have followed the instructions with matedit on loading a matrix into one of my games. The code works perfectly well in DB but when I port it to DBpro I keep getting the same error.
When it calls the file "Loadmatrix.dba" that comes with matedit it gets to line 41:
Rem Read in texture values for each matrix tile...
For N1=0 To TilesZ(1)-1
For N2=0 To TilesX(1)-1
Read String 1,T$: MatTex=Val(T$)
SET MATRIX TILE 1,N2,N1,MatTex
Tiles(N2,N1)=MatTex
Next N2
Next N1
With the error "#100013: command out of place"
Any suggestions?
For Fathers and Sons who enjoy wholy spirits.