S
Sssjim
Guest
Hey... I am curious about arrays...
When creating an array with 8 elements, does the program recognize them as 1 to 8, or is it like a C++ program and create units 0 thru 7????
And if I make an array using the player conversion variable, does it convert player 1 to a 1 or a 0? (i.e. when checking an 8 element array called score(), would the first entry be score(0) or score(1)? And if it goes from 0 to 7 and I tried to access score(8), what would it do???
Thanks!
Jim
When creating an array with 8 elements, does the program recognize them as 1 to 8, or is it like a C++ program and create units 0 thru 7????
And if I make an array using the player conversion variable, does it convert player 1 to a 1 or a 0? (i.e. when checking an 8 element array called score(), would the first entry be score(0) or score(1)? And if it goes from 0 to 7 and I tried to access score(8), what would it do???
Thanks!
Jim


