in reply to Re^2: Better solution for code reduction?
in thread Better solution for code reduction?

And even if the second line was fixed so the truth tables would match, it's still wrong. The problem is that if the first set of conditions is true, Block1 will be run, before the second set of conditions is tested. However, running block1 may well change the true/false value of the second set of conditions.

So it could not be the "generic solution" the OP was looking for.

  • Comment on Re^3: Better solution for code reduction?