I was just trying something out, trying to get the results of comparison operators (it could be useful in some situations
Try the following code. It gives a value of 4 when the numbers are different and a value of 3 when they are the same (yes, I am aware that it seems to track the value of the b variable
Code: Select all
a.l = 3
b.l = 4
;b.l = 3 ; Also try it with this, it still evaluates to true
c.l = (a b)
Debug Str(c)
End
What do you all think?
--
I used to be a nihilist but I don't believe in that any more.
(Win98first ed. + all updates, PB3.62, external editor)
