From 0db6a3103f2285365476f8bc87638261a4422bb4 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 4 Dec 2000 12:03:25 +0000 Subject: $# doc --- Doc/Zsh/params.yo | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Doc/Zsh') diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo index c3e8c4679..c8823a442 100644 --- a/Doc/Zsh/params.yo +++ b/Doc/Zsh/params.yo @@ -240,7 +240,11 @@ The process ID of the last background command invoked. ) vindex(#) item(tt(#) )( -The number of positional parameters in decimal. +The number of positional parameters in decimal. Note that some confusion +may occur with the syntax tt($#)var(param) which substitutes the length of +var(param). Use tt(${#}) to resolve ambiguities. In particular, the +sequence `tt($#-)var(...)' in an arithmetic expression is interpreted as +the length of the parameter tt(-), q.v. ) vindex(ARGC) item(tt(ARGC) )( -- cgit 1.4.1