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.

There does not seem to be a solution as BM somehow refuses to implicitely cast it.

Nor works int( ... ), var int( ... ), varptr int( ... ) and others.
Var is no sucky concept just not fully implemented as other ideas mark borrowed from C#, Eiffel and Java.