Null = 0

BlitzMax Forums/BlitzMax Beginners Area/Null = 0

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.

Is there a way to notice the difference between the value 0 and Null for Int types?

No, Null is an Object specific identifier and will always be converted to the default "zero" state of any variable type.
Use a magic value instead, like -1 or some other value that your input doesnt use.