invalid while expression

Issue #11 resolved
deep zero created an issue

this expressions:

while(i > NULL && (cMem->DataByte[0] != 0xFF && (cMem->DataByte[1] != 0x20 || cMem->DataByte[1] != 0x30)))

(we have it twice!)

is always true.

Comments (3)

  1. --

    only true if cMem->DataByte[0] != 0xFF , right ?

    cMem->DataByte[1] != 0x20 || cMem->DataByte[1] != 0x30 is always true but the rest depends on DataByte[0]

    no ?!

  2. Log in to comment