I just can't imagine why you would manually hardcode your IF expression with a negated number if you could just as easily type $false or 0 or get rid of the IF all together.

Use a variable that has some meaning, instead of the naked number 1.


Well. At least I won lunch.
Good philosophy, see good in bad, I like!