Tile editor

BlitzMax Forums/BlitzMax Beginners Area/Tile editor

Heh, I apologise for asking so many questions, but I have a bad habbit of not getting things finished. I am determined this time though, which is the reason for the questions.
I am sooooo close now.
So what you're saying is the I need to include the tiles[] array in this part:
Local tm:tilemap=New tilemap	
     tm.tset=LoadAnimImage(timg$,tsx,tsy,0,frms)		
Return tm

But no matter how I try and work it in there I only get errors.
Again, sorry to be a bother, but I'm new at this sory of thing, and I am too close to give up now.