
-----------------------------------
noobprogrammer123
Wed May 05, 2004 4:12 pm

arrays
-----------------------------------
i have 520 similar pictures in a program that i am making, how do i use the array command?

-----------------------------------
Paul
Wed May 05, 2004 6:30 pm


-----------------------------------
u name the pictures something like:
pic1.jpg
pic2.jpg
pic3.jpg 
etc... u get the point then u do this

var pic: array 1..520 of int
var temp: string
for a: 1..520
temp:= "pic"+intstr(a)+".jpg"
pic(a):= Pic.FileNew (temp)
end for

