Sorry to double post, but I don't want this topic to get buried 'cause I just need to ask one more question.
EDIT: Forget my question.
Ooookay, now I'm really getting mad. Dark Basic Lite is also bugged in the AND statement department as well... my 1 AND 0 = 0 doesn't work right, either. Instead,
IT'S output is 1.
Anyways, if someone would please test my full prog and let me know what happens, here is my revised (yet again) program.
REM Declaring variables
A = 3
B = 4
C = 10
D = 2
E = 10
F = 9
G = 100
H = 5
I = 25
REM Arithmetic Operators
PRINT A + B
PRINT A - B
PRINT A * B
PRINT C / D
REM Relational Operators
PRINT E = F
PRINT E = E
PRINT E > F
PRINT G >= G
REM Boolean Operators
REM 0 AND 0 = 0
PRINT (H > 10) AND (H > 20)
REM 0 AND 1 = 0
PRINT (H > 10) AND (I > 20)
REM 1 AND 0 = 0
PRINT (I > 10) AND (H > 20)
REM 1 AND 1 = 1
PRINT (I > 10) AND (I > 20)
REM 0 OR 0 = 0
PRINT (H > 10) OR (H > 20)
REM 0 OR 1 = 1
PRINT (H > 10) OR (I > 20)
REM 1 OR 0 = 1
PRINT (I > 10) OR (H > 20)
REM 1 OR 1 = 1
PRINT (I > 10) OR (I > 20)
Thanks in advance for letting me know what happens.
I need to know because regardless, I'm continuing Programming Principles tomorrow, Common Statements. Oh boy!!
I wonder what other bugs I'll discover...
Pentium4 3GHZ, 512MB DualChannel RAM, 256MB ATI Radeon 9800XT, SoundBlaster Audigy2, 120 GB HD.