
-----------------------------------
wthef_wc3
Wed Mar 02, 2005 11:19 pm

creating variables in a program
-----------------------------------
is there anyway to make the program generate variables (int type)
i.e. 
a prg the collects names 
so instead of a var for each name the computer makes its own?
any idea has to how this can be done? if at all.

-----------------------------------
ssr
Wed Mar 02, 2005 11:23 pm


-----------------------------------
what I do is use array and flexible array
done know if it would help, but check out teh tutorial section
plenty of stuff on that :D

-----------------------------------
person
Thu Mar 03, 2005 4:16 pm


-----------------------------------
dont froget 2D arrays

-----------------------------------
Flikerator
Thu Mar 03, 2005 5:42 pm


-----------------------------------
dont froget 2D arrays

2D arrays? Like arrays in arrays?

Wouldn't that get confusing...

-----------------------------------
person
Thu Mar 03, 2005 6:15 pm


-----------------------------------
check the tutorials

-----------------------------------
ssr
Thu Mar 03, 2005 11:04 pm


-----------------------------------
var lala:array 1..4,1..5 of int
thats a 2d array
it will create an array that contains 4* 5 = 20 spaces
simiarly ther are 3d or 4d arrays
but 5 d and 6d are not comon 8)
