Array size

Blitz3D Forums/Blitz3D Beginners Area/Array size

Manromen(Posted 2004) [#1]
Hi,

i want to write a function that will get a array. But i have to get the array size anyway like array.length or so. But i can't find how. Is there any command to get the array size ?


Ross C(Posted 2004) [#2]
Nope, i'm afraid not. You'll need to keep a note of the array, using a varaible :o)


Manromen(Posted 2004) [#3]
Ok Thanks =)


CS_TBL(Posted 2004) [#4]
you could try banks .. and use BankSize(bank) to get the size of the bank back.. / elementsize = number of elements..