Return value from Var must be matching type

BlitzMax Forums/BlitzMax Beginners Area/Return value from Var must be matching type

The type in Max2D is private by default too? Man this sucks.

Changing it isn't an option. Then anyone who uses this system would have to change it, and if I ever reinstall max, my code breaks.

I guess I have no choice but to do the retarded thing and create temporary variables to hold the data so I can convert it to float after. The only other option is to give up using floats for the viewport.

Why the hell did they have to go and make that private?