The source button is borken please use code tags,
e.g.
[ code]Code goes here[ /code]
(remove the spaces inside the square brackets though)
[EDIT]
Well excuse me for not checking..seems to be working fine...Lemme have a look at that code now.
What error is it giving ?
[EDIT]
Try this prehaps...not sure but it may be being confused by the ','...it's just a long shot I dont think it is very likely atall.
for y=0 to 20
for x=0 to 20
imgnum=tileMap((x+tileNumX),(y+tileNumY))
xpos=(x*tileSizeX)-tempX
ypos=(y*tileSizeY)-tempY
paste image imgnum,xpos,ypos
next x
next y
Sorry I couldnt be more help
M.I.A is pending