I've tried this about sixty different times, and I failed miserably each time. How would I make an expression for "If X and Y and Z are all true"?
IE:
"If X and Y and Z are all true"
del(src)
I don't know if I have faulty coding or I've just been using the wrong delimiters, but an answer to this would help greatly.
ID:173546
Dec 19 2003, 2:20 pm
|
|
Enigmaster2002 wrote:
I've tried this about sixty different times, and I failed miserably each time. How would I make an expression for "If X and Y and Z are all true"? <code>if(X && Y && Z) del(src)</code> You can also do "OR" like this: <code>if(X || Y || Z) del(src)</code> And use paranthesis to make more interesting combinations: <code>if((X && Y) || Z) del(src)</code> |
del src