Oxygen Basic

Programming => Bugs & Feature Requests => Topic started by: Peter on December 21, 2013, 10:58:30 PM

Title: Negative False
Post by: Peter on December 21, 2013, 10:58:30 PM
Deleted
Title: Re: Negative False
Post by: JRS on December 21, 2013, 11:17:04 PM
Code: [Select]
Function Negative( sys a ) As sys
        Return a - 1
End Function  

print negative(1)  '  must -1 but is 0

I just pulled out my old trusty calculator and I'm happy to report that 1 - 1 still equals zero.

I was worried about your math before but now I'm devastated.
Title: Re: Negative False
Post by: JRS on December 21, 2013, 11:37:10 PM
I was just putting the bow on my old calculator I wrapped up for you. Oh well, back in the drawer it goes.  :D