Look at this code for an example:
SET Dir "C:\Documents and Settings\Merlin\Desktop\Projects\Game\Adventure\Unknown\"
LOAD IMAGE "rdtest_ground1.png" ,1
LOAD IMAGE "rdtest_mario1.png" ,5
LOAD IMAGE "rdtest_block1.png" ,3
s = 1
Data 0,0,0,0,0,0,0,0,0
Data 0,0,0,0,0,0,0,0,0
Data 0,3,0,0,3,0,0,0,0
Data 0,0,0,0,0,0,0,3,0
Data 5,0,0,0,0,0,0,0,0
Data 1,1,1,1,1,0,1,1,0
For x = 1 To 9
For y = 1 To 6
Read Ground
If Ground = 1 Then sprite s,x+50,400,1: s=s+1
Next y
Next x
wait key
Basically you load an image and give it a number say 1, then in your Data section every time you have a 1 placed there, it represents the image, the above code doesn't work for me too well but it gives you an idea.
I hear and I forget. I see and I remember. I do and I understand.