diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2005-05-17 10:49:31 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2005-05-17 10:49:31 +0000 |
commit | 16869f5aa75f84ce356f7499da3ef119920a69bf (patch) | |
tree | ea3e0cdcd05761f35a250e945ea7e6f4545b4e1f /Doc/Zsh/arith.yo | |
parent | 3e9b2871775bda6245d1e9a860f174e1271b7eab (diff) | |
download | zsh-16869f5aa75f84ce356f7499da3ef119920a69bf.tar.gz zsh-16869f5aa75f84ce356f7499da3ef119920a69bf.tar.xz zsh-16869f5aa75f84ce356f7499da3ef119920a69bf.zip |
21264: document return status of (( ... ))
Diffstat (limited to 'Doc/Zsh/arith.yo')
-rw-r--r-- | Doc/Zsh/arith.yo | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/Zsh/arith.yo b/Doc/Zsh/arith.yo index 20456b924..33ca09c20 100644 --- a/Doc/Zsh/arith.yo +++ b/Doc/Zsh/arith.yo @@ -21,7 +21,10 @@ command which begins with a `tt(LPAR()LPAR())', all the characters until a matching `tt(RPAR()RPAR())' are treated as a quoted expression and arithmetic expansion performed as for an argument of tt(let). More precisely, `tt(LPAR()LPAR())var(...)tt(RPAR()RPAR())' is equivalent to -`tt(let ")var(...)tt(")'. For example, the following statement +`tt(let ")var(...)tt(")'. The return status is 0 if the arithmetic value +of the expression is non-zero, and 1 otherwise. + +For example, the following statement example((( val = 2 + 1 ))) |