unless
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | unless [2006/08/29 16:08] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | # $EPIC: unless.txt, | ||
| + | ======Synopsis: | ||
| + | __unless__ (< | ||
| + | __unless__ (< | ||
| + | __unless__ (< | ||
| + | __unless__ (< | ||
| + | __unless__ (< | ||
| + | |||
| + | ======Description: | ||
| + | __UNLESS__ is the inverse of the [[IF]] command. | ||
| + | FALSE then < | ||
| + | else oe elseif conditions are parsed until a < | ||
| + | FALSE. | ||
| + | does not change that it is looking for a < | ||
| + | |||
| + | For all the other gory details, see the [[IF]] help file. | ||
| + | |||
| + | ======Examples: | ||
| + | | ||
| + | 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. | ||
unless.txt · Last modified: 2006/08/29 16:08 by 127.0.0.1
