diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-10-05 08:41:35 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-10-05 08:41:35 +0000 |
commit | 62df18f0d8ce37c7d61aa58295c0e4b8b1a011a2 (patch) | |
tree | d5902174c74bf971f42372847fdca6bf8eaa0ccc /Doc/Zsh/arith.yo | |
parent | 0f2250de44f1d753d7d9dc7e0d4f8927137bd956 (diff) | |
download | zsh-62df18f0d8ce37c7d61aa58295c0e4b8b1a011a2.tar.gz zsh-62df18f0d8ce37c7d61aa58295c0e4b8b1a011a2.tar.xz zsh-62df18f0d8ce37c7d61aa58295c0e4b8b1a011a2.zip |
cleanup (12896)
Diffstat (limited to 'Doc/Zsh/arith.yo')
-rw-r--r-- | Doc/Zsh/arith.yo | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/Zsh/arith.yo b/Doc/Zsh/arith.yo index fcd45a1f5..4e6fa99f2 100644 --- a/Doc/Zsh/arith.yo +++ b/Doc/Zsh/arith.yo @@ -116,9 +116,9 @@ the tt(zmodload) builtin to provide standard floating point mathematical functions. An expression of the form `tt(##)var(x)' where var(x) is any character -sequence such as `tt(a)', `tt(^A)', or `tt(\M-\C-x)' gives the ascii +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 +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). `tt(#\)' is accepted instead of @@ -168,7 +168,7 @@ retain that type either until the type is explicitly changed or until the end of the scope. This can have unforeseen consequences. For example, in the loop -example(for (( f = 0; f < 1; f += 0.1 )); do; +example(for (( f = 0; f < 1; f += 0.1 )); do # use $f done) |