Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Extended KotD #3: _NEGATE
#2
Hi Steve. I believe you may have addressed this for me once before but I'll be damned if I can find it. I do have a vague memory of the negation code which had confused me, I believe is was 

Code: (Select All)
a = 5 * -1
Print a
b = 5 * Not 1
Print b
Print Not 1
As I recall, I couldn't understand why Not 1 was equal to 2?

I was going to try ( using your explanation that I can no longer find) apply the same code to the new _NEGATE to see what the answer to b = 5 * _Negate 1. 

If _NEGATE is logical then _Negate 1 would be zero and not 2, correct?
Reply


Messages In This Thread
Extended KotD #3: _NEGATE - by SMcNeill - 05-09-2024, 05:55 PM
RE: Extended KotD #3: _NEGATE - by Dimster - 05-10-2024, 03:20 PM
RE: Extended KotD #3: _NEGATE - by bplus - 05-10-2024, 04:57 PM
RE: Extended KotD #3: _NEGATE - by SMcNeill - 05-10-2024, 05:48 PM



Users browsing this thread: 1 Guest(s)