I have sliced up an image into 9 pieces ie 3x3, and I want to control them using an array.
The code below shows what I am trying to do.
for lp=0 to 8
load array "picsimagestable_"+str$(lp+1)+".jpg",table$(lp)
next lp
for lp=0 to 2
`load image "picsimagestable_"+str$(lp+1)+".jpg",100+lp
load image table$(lp),100+lp
make object plain 500+lp,98,98
texture object 500+lp,100+lp
ghost object on 500+lp
position object 500+lp,180+(lp*98),50,187
next lp
If I use the rem'ed out line instead of the "load image" one it works ok, but I don't have control via the array. The
load image line complains that no image exists.
I am only showing one of three
'for next' loops of course.
Maybe I am going about this totally wrong. Any ideas please?
Alan