
-----------------------------------
TheFerret
Wed Mar 31, 2004 8:05 am

Pictures
-----------------------------------
I have 50 pictures in my program named 1..50 and i have and array to have a variable declared for each picture...

var c : array 1 .. 50 of int
for i : 1 .. 50
    c (i) := Pic.FileNew (c(i)+".bmp")
end for
How do I get it so that it has the .bmp ending...

-----------------------------------
jonos
Wed Mar 31, 2004 8:16 am


-----------------------------------
i think you will have to make c(i) a string, then it will concatenate


var c : array 1 .. 50 of int
for i : 1 .. 50
    c (i) := Pic.FileNew (intstr(c(i))+".bmp")
end for


is that what yo umean?

-----------------------------------
TheFerret
Wed Mar 31, 2004 9:42 am


-----------------------------------
N/m I got it...
