Global Initializers Must Be Constant?

BlitzMax Forums/BlitzMax Beginners Area/Global Initializers Must Be Constant?

it isn't a problem
You just can't do
type
   global something:type = type.create ()

end type

or similar

but you can simply add a

type
   global something:type

   method new ()
      if something = null something = type.create ()
   end method
end type


as it is normal in OO (aka initialize stuff in constructor)