Question about boolean ">" and "<>"
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
case FALSE FALSE: term.hex(data[i], 4)Most likely not what you want. So what is your intention with all these expressions?From the looks of it you want something like this:
if (data[i] & $0F00) == $0100 case data[i] & $FF $01..$FF: term.dec(data[i], 4)IOWif (data[i] & $0F00) == $0100 if data[i] & $FF term.dec(data[i], 4)d := data[i] & $0F00 case d $0100: term.hex(data[i], 4) term.tx(32) other: term.hex(data[i], 4) term.tx(32) term.tx(58)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?
if ((data[i] & $0F00) == $0100) term.hex(data[i], 4) term.tx(32) elseif ((data[i] & $00FF) <> $0000) term.hex(data[i], 4) term.tx(32) term.tx(58)