# $EPIC: unless.txt,v 1.2 2006/08/20 17:37:08 sthalik Exp $ ======Synopsis:====== __unless__ () __unless__ () { } [{ }] \\ __unless__ () { } elsif () { } else { } \\ __unless__ () { } elif () { } \\ __unless__ () { } else if () { } \\ ======Description:====== __UNLESS__ is the inverse of the [[IF]] command. If is FALSE then is is executed. If is TRUE then any further else oe elseif conditions are parsed until a is found that is FALSE. Note that even though the word "elsif" and "elif" are used, that does not change that it is looking for a that is FALSE. For all the other gory details, see the [[IF]] help file. ======Examples:====== unless (1 == 1) { echo 1 == 1. This is not executed, because 1 == 1 is TRUE } elsif (1 == 0) { echo 1 == 0. This is executed because 1 == 0 is FALSE. } else { echo ha! This is not executed because 1 == 0 is FALSE. } ======History:====== The __UNLESS__ command first appeared in EPIC3.