From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23116 invoked from network); 8 Apr 2002 21:05:41 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 8 Apr 2002 21:05:41 -0000 Received: (qmail 23333 invoked by alias); 8 Apr 2002 21:05:23 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4819 Received: (qmail 23321 invoked from network); 8 Apr 2002 21:05:23 -0000 Message-ID: <3CB20607.5030807@davh.dk> Date: Mon, 08 Apr 2002 23:05:11 +0200 From: Dennis Haney User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9+) Gecko/20020329 X-Accept-Language: da, en-us MIME-Version: 1.0 To: zsh-users Subject: range in parameter Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit I have a program which has a switch takes a number between 0 and 100: _arguments \ {'(-v)--volume','(--volume)-v'}"[Set audio volume to N (0-100)]:volume:" \ But how do I specify that all number between 0 and 100 are valid params without having to type all 100? -- Dennis use Inline C => qq{void p(char*g){printf("Just Another %s Hacker\n",g);}};p("Perl");