Question about boolean ">" and "<>"
Don M
Posts: 1,652
If I have this case statement:
and the data pointed to by i is $0000, why does it make it through this (printed)? I also tried using > and I get the same result. What am I not understanding about this boolean logic?
case (data[i] & $0F00) == $0100 (data[i] & $00FF) > $0000: term.hex(data[i], 4)
and the data pointed to by i is $0000, why does it make it through this (printed)? I also tried using > and I get the same result. What am I not understanding about this boolean logic?
Comments
From the looks of it you want something like this: IOW
The $0000 is caught in the "other" case and not in the "$0100" case. But I still don't understand the original post question. Can't you combine logic like that?