View Single Post
Boolean Functions
Old
gdev
Guest
 
Status:
Posts: n/a
Default Boolean Functions - 03-12-2007, 11:39 AM

I have created a Boolean function to do crash detection.

I have:

if (distance between objectes < 1)
then return = true
else return = false

return = true

The last return = true is there from when I first created the function. The problem is when this runs it always returns true thanks to the last return statement. I have an example of something similar from our textbook and they have the last return = none but I cannot find any place that I can set that return to none. Please Help.
   
Reply With Quote