Global array in type

BlitzMax Forums/BlitzMax Beginners Area/Global array in type

Just Stick a Null check around it
Method New()
If b = Null
b = New Int[2]
b[0] = 23
b[1] = 45
Print "Alloced!"
EndIf
End Method

Aaron