Some simple but useful debugging tips

Blitz3D Forums/Blitz3D Tutorials/Some simple but useful debugging tips

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.

Also, watch your mix-and-match of variables. If you need a floating point result, make sure your elements doing the math aren't integers, or you will get ugly surprises for your results.

Where x= an integer (not floating point):

x=3.0/4.0 gives an answer of 1, not .75
and
x=3/4 gives an answer of 0 (zero), not .75
and
x#=3/4 gives 0.0 for an answer, not .75