Return value from Var must be matching type

BlitzMax Forums/BlitzMax Beginners Area/Return value from Var must be matching 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.

Not really. Numerics are implicitely casted or can be casted at all to be accepted by Ref. But it seems like in BM its not possible, even if you use varptr ( int ( somefloat#)) it fails although it should work theoretically.