How to get array length

Blitz3D Forums/Blitz3D Programming/How to get array length

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I want to run a process on every member of an array

For n = 0 to ArraySize(array())
If such and such
do groovey things
Next

I can't find any GetArraySize function though. Is there any? Or can I use a 'If index not out of array bounds' method? Or do I need to add *another* Global constant?!