Posted: Wed Mar 02, 2005 11:19 pm Post subject: 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.
Sponsor Sponsor
ssr
Posted: Wed Mar 02, 2005 11:23 pm Post subject: (No subject)
what I do is use
code:
array
and
code:
flexible array
done know if it would help, but check out teh tutorial section
plenty of stuff on that
person
Posted: Thu Mar 03, 2005 4:16 pm Post subject: (No subject)
dont froget 2D arrays
Flikerator
Posted: Thu Mar 03, 2005 5:42 pm Post subject: (No subject)
person wrote:
dont froget 2D arrays
2D arrays? Like arrays in arrays?
Wouldn't that get confusing...
person
Posted: Thu Mar 03, 2005 6:15 pm Post subject: (No subject)
check the tutorials
ssr
Posted: Thu Mar 03, 2005 11:04 pm Post subject: (No subject)
code:
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)