Array size

Blitz3D Forums/Blitz3D Beginners Area/Array size

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 ?

Nope, i'm afraid not. You'll need to keep a note of the array, using a varaible :o)

Ok Thanks =)

you could try banks .. and use BankSize(bank) to get the size of the bank back.. / elementsize = number of elements..