Returning the number of elements in an array

Blitz3D Forums/Blitz3D Beginners Area/Returning the number of elements in an array

Good reading, but you guys missed a key point, which I just stumbled upon: Null. It DOES exist in Blitz!

Null
Parameters
None  

Description
Designates a Null Type object. Useful for making a Type variable point to nothing or checking if a Type object exists. Also, useful for checking that there are still objects left on the end of a Type list using the After command. 

Can used for testing and setting. 

See also: Type, After.  

Example
; Null example 

Type Alien 
Field x,y 
End Type 

a.Alien = New Alien 
If a <> Null Then Print "Alien exists!" 
Delete a 
if a = Null Then Print "Alien gone!"