Memory access violation error

BlitzPlus Forums/BlitzPlus Programming/Memory access violation error

oh. my. god. this is doing my head in.

heres my code:

Dim map(7)
map(1)=LoadImage("images/terrain1.jpg")
map(2)=LoadImage("images/terrain2.jpg")
map(3)=LoadImage("images/terrain3.jpg")
map(4)=LoadImage("images/terrain4.jpg")
map(5)=LoadImage("images/terrain5.jpg")
map(6)=LoadImage("images/terrain6.jpg")
map(7)=LoadImage("images/terrain7.jpg")

the files are all there. definitely. ive tried converting them to bmp's, if tried renaming them. all i get is memory violation access, and then blitz kindly rearranges the icons on my desktop. arrrrrggggghhh!!!!!

please help. somebody. im not even a new blitz user. ive done this sort of thing a million times before!!!!

please.

neil