Well, that's not how myself or any compiler would read that statement, so you don't want to use AND. Try this:B0 = 5 AND B1 = 10
What we're doing here is to establish a jump if our condition is not true. When the condition is true, we make the assigement (B1 = 10). If it is not true, we jump around the assignment to the next instruction.Code:IF B0 <> 5 THEN NoSet B1 = 10 NoSet: ' rest of program here
(If this seems convoluted, it is. The Pro version does not have this limit)
Bookmarks