08-21-2003, 04:36 AM
Quote:No.
You can do several things.
1) You can duplicate the result for both statements.
2) You can use GOTO for both statements to goto the result. If one is true, you go to the result and you don't need to check the other statement.
3) You can do the same thing as (2), rewriting the code internally in the compiler, which is what QB *should* do.
like this?
Code:
IF a THEN GOTO true
IF b THEN GOTO true
PRINT "False"
END
true:
PRINT "TRUE"