OK, that's great but how can I contruct the variable $bool on the fly?
In general I will have a function that will return values 0 and 1. I can then combine these with operators || and &&. However if I write all this to a string variable $bool the test does not work properly!
In reply to Re^4: Evaluate arbitrary boolean expressions
by gauss76
in thread Evaluate arbitrary boolean expressions
by gauss76
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |