in reply to Re: Better solution for code reduction?
in thread Better solution for code reduction?
Also, since Block2 seems, in this generic example, to be the more important block of code, the unless form of the statement helps point that out (as I'd used in my original reply above)...Original code truth table: wfsp's code truth table: Condition1 Condition2 Execute Condition1 Condition +2 Execute ---------- ---------- ----------- ---------- --------- +- ----------- True True Block1 True True + Block1 True False Block2 True False + Block2 False True Block2 False True + none False False Block2 False False + Block2
-Scott
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Better solution for code reduction?
by wfsp (Abbot) on Mar 11, 2005 at 07:28 UTC | |
|
Re^3: Better solution for code reduction?
by Anonymous Monk on Mar 11, 2005 at 09:32 UTC |