found out about global in types.

BlitzMax Forums/BlitzMax Beginners Area/found out about global in types.

The problem is graphicswidth() and graphicsheight() are being called before graphics() - globals inside types are initialised first, before any code is run.