diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-07-12 17:02:40 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-07-12 17:02:40 +0000 |
commit | 1f6786ef7ae24ff858f52c6d4ac2bc23d529c0c1 (patch) | |
tree | 608d6471d477e8d4d9eafa62f521be50c3248f6e /Doc/Zsh/arith.yo | |
parent | 7c670f1e6a0e154f0b1a2d4b6eed0e71c9404b56 (diff) | |
download | zsh-1f6786ef7ae24ff858f52c6d4ac2bc23d529c0c1.tar.gz zsh-1f6786ef7ae24ff858f52c6d4ac2bc23d529c0c1.tar.xz zsh-1f6786ef7ae24ff858f52c6d4ac2bc23d529c0c1.zip |
zsh-3.1.6-test-1 zsh-3.1.6-test-1
Diffstat (limited to 'Doc/Zsh/arith.yo')
-rw-r--r-- | Doc/Zsh/arith.yo | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Doc/Zsh/arith.yo b/Doc/Zsh/arith.yo index f22b35794..80c023301 100644 --- a/Doc/Zsh/arith.yo +++ b/Doc/Zsh/arith.yo @@ -74,11 +74,12 @@ is evaluated. Note the precedence of the bitwise AND, OR, and XOR operators. An expression of the form `tt(#\)var(x)' where var(x) is any character -gives the ascii value of this character and an expression of the form -`tt(#)var(foo)' gives the ascii value of the first character of the value -of the parameter var(foo). Note that this is different from the expression -`tt($#)var(foo)', a standard parameter substitution which gives the length -of the parameter var(foo). +sequence such as `tt(a)', `tt(^A)', or `tt(\M-\C-x)' gives the ascii +value of this character and an expression of the form `tt(#)var(foo)' +gives the ascii value of the first character of the value of the +parameter var(foo). Note that this is different from the expression +`tt($#)var(foo)', a standard parameter substitution which gives the +length of the parameter var(foo). Named parameters and subscripted arrays can be referenced by name within an arithmetic expression without using the parameter expansion syntax. For |