this example works for both dbc 113 and dbp 5.2 so it must be your paths.
http://www.lunarpixel.net/temp/img_array_test.zip
here is a duplicate copy of the code inside the zip that also has 3 mini media elements.
sync on : sync rate 60
maximg = 3
dim myimg$(maximg)
myimg$(1) = "imgs/img1.bmp"
myimg$(2) = "imgs/img2.bmp"
myimg$(3) = "imgs/img3.bmp"
for i = 1 to maximg
x = (i*64)
y = 100
load image myimg$(i),i
sprite i,i*64,y,i
next t
disable escapekey : while escapekey()=0
sync : endwhile
for i = 1 to maximg
if image exist(i)=1 then delete image i
if sprite exist(i)=1 then delete sprite i
next i
undim myimg$(maximg)
end
you may also notice i didnt use the x variable in this part of code
for the bold area as waisted coding.
for i = 1 to maximg
x = (i*64)
y = 100
load image myimg$(i),i
sprite i,
i*64,y,i
next t

fall down seven times, stand up eight