02-21-2004, 08:43 PM
Not 100% sure if conversions are correct.
Are they?
Are they?
Code:
AND:
IF a AND b THEN
c
END IF
------
IF "a" THEN
IF "b" THEN
c
END IF
END IF
OR:
IF a OR b THEN
c
END IF
------
IF a THEN
c
ELSE
IF b THEN
c
END IF
END IF
XOR:
IF a XOR b THEN
c
END IF
------
IF a THEN
IF NOT b THEN
c
END IF
ELSE
IF b THEN
c
END IF
EQV:
IF a EQV b THEN
c
END IF
------
IF a THEN
IF b THEN
c
END IF
ELSE
IF NOT b THEN
c
END IF
IMP:
IF a IMP b THEN
c
END IF
------
IF a THEN
c
END IF
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."
Visit www.neobasic.net to see rubbish in all its finest.
Visit www.neobasic.net to see rubbish in all its finest.