Strict - Function return values

BlitzMax Forums/BlitzMax Programming/Strict - Function return values

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.

As I said before:


I'm not suggesting that assignments don't get implicitely casted only the return values. If I can't return the incorrect Type from a method I shouldn't be able to return an incorrect primitive.

This is of course, my opinion. The use of the strict keyword should enforce the highest level of type checking.