IF Boolean_Logic = Inconsistent Then IsBug()

BlitzMax Forums/BlitzMax Programming/IF Boolean_Logic = Inconsistent Then IsBug()

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.

Honestly sswift thats why we used to say "If X" ment "does x exist"

This was when this whole NULL thing didnt exist. Either the variable had a value or it didnt, and a newlycreated variable had a value of 0.

We were wrong to call it this, but it ment that we never got mixed-up, and is the reason we dont even see it as a problem doing it this way

The thing is what is it you want to mean by False/True
Because after all even 0 is a true value

Maybe if x=NAN (ie if x is a non numerical value)
But then when would you use this? When X was NULL? so Maybe
If x=NULL?