
-----------------------------------
Paul
Tue Jan 27, 2004 9:16 pm

Using array for bmp?
-----------------------------------
Can u use an array to get a number of bmps?
like instead of doing:
var h1 :int := Pic.FileNew ("h.bmp") 

var h2 :int := Pic.FileNew ("h2.bmp") 

var h3 :int := Pic.FileNew ("h3.bmp") 

var h4 :int := Pic.FileNew ("h4.bmp") 
and using an array to do it?

-----------------------------------
Mazer
Tue Jan 27, 2004 9:28 pm


-----------------------------------
Sure.

var pics : array 1 .. 4 of int

for i : 1 .. 4
    pics(i) := Pic.FileNew ("h" + intstr (i) + ".bmp")
end for

Of course, that won't work if that first bitmap is "h.bmp" instead of "h1.bmp".

-----------------------------------
McKenzie
Tue Jan 27, 2004 9:29 pm


-----------------------------------
of course.
var pics:1..10 of int

for i:1..10
     pics(i):=Pic.FileNew("H"+intstr(i)+".bmp")
end for

-----------------------------------
McKenzie
Tue Jan 27, 2004 9:30 pm


-----------------------------------
Arrgg...I should stop typing with my nose (too slow)

-----------------------------------
we64
Tue Jan 27, 2004 9:48 pm


-----------------------------------
cool, typing with nose...

-----------------------------------
Paul
Tue Jan 27, 2004 11:04 pm


-----------------------------------
Eww... oily keyboard
suck
[/Alarm! Grammatical Mistake!]

-----------------------------------
we64
Tue Jan 27, 2004 11:13 pm


-----------------------------------
:D 
oops
thanks paul

-----------------------------------
shorthair
Wed Jan 28, 2004 8:09 am


-----------------------------------
I bow before you McKenzie  , any 2 foot green guy that types with his nose, rocks my world , also anyone who has teh hgod given right to say hmmmmmmm , yesssss , at tense moments in life,

-----------------------------------
Cervantes
Wed Jan 28, 2004 9:21 am


-----------------------------------
there was a tutorial on this (it was actually Asian's tutorial of tips and helpers or something like that...)

Cheers

-----------------------------------
Mazer
Wed Jan 28, 2004 9:35 am


-----------------------------------
A tutorial on typing with your nose? Sweet! Where's the link?

-----------------------------------
Cervantes
Wed Jan 28, 2004 9:52 am


-----------------------------------
haha now that I would love to see!! :lol:
