Global array in type

BlitzMax Forums/BlitzMax Beginners Area/Global array in type

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.

It seems like you can do something like this....

Type poo
Global b[]
Method New()
b = New Int[2]
b[0]=100
b[1]=200
End Method
End Type


a:poo = New poo
b:poo = New poo

Print a.b[0]
Print a.b[1]


Print b.b[0]
Print b.b[1]

Aaron