From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2764 invoked from network); 14 Jun 2004 02:55:29 -0000 Received: from thor.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.86) by ns1.primenet.com.au with SMTP; 14 Jun 2004 02:55:29 -0000 Received: (qmail 32642 invoked from network); 14 Jun 2004 02:54:40 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 14 Jun 2004 02:54:40 -0000 Received: (qmail 19468 invoked by alias); 14 Jun 2004 02:54:26 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7534 Received: (qmail 19458 invoked from network); 14 Jun 2004 02:54:24 -0000 Received: from thor.dotsrc.org (HELO a.mx.sunsite.dk) (qmailr@130.225.247.86) by sunsite.dk with SMTP; 14 Jun 2004 02:54:21 -0000 Received: (qmail 32048 invoked from network); 14 Jun 2004 02:54:21 -0000 Received: from scaup.mail.pas.earthlink.net (207.217.120.49) by a.mx.sunsite.dk with SMTP; 14 Jun 2004 02:54:20 -0000 Received: from h-66-167-187-176.hstqtx02.dynamic.covad.net ([66.167.187.176] helo=amdxp.kalama.no-ip.org) by scaup.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1BZhc2-000472-00 for zsh-users@sunsite.dk; Sun, 13 Jun 2004 19:54:18 -0700 Received: from [10.0.1.2] (mothership.kalama.no-ip.org [10.0.1.2]) by amdxp.kalama.no-ip.org (Postfix) with ESMTP id 6269A21B; Sun, 13 Jun 2004 21:54:18 -0500 (CDT) Mime-Version: 1.0 (Apple Message framework v618) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <26243486-BDAE-11D8-BDC7-000A95D2C79E@kalama.no-ip.org> Content-Transfer-Encoding: 7bit From: lists Subject: typesetting parameters Date: Sun, 13 Jun 2004 21:54:26 -0500 To: zsh-users@sunsite.dk X-Mailer: Apple Mail (2.618) X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=-0.0 required=6.0 tests=BAYES_44 autolearn=no version=2.63 X-Spam-Hits: -0.0 Hi list, I'm having difficulty understanding why one would define a parameter with typeset before using it using. For example: integer count=1 until something; do something else something else something else (( count++ )) done I could just do count=1 until something; do something else something else something else (( count++ )) done and get the same results, right? Similarly, if I define a scalar variable or non-associative array with 'var=foo' and 'array=(one two three)', is that different from doing 'typeset var=foo' and 'typeset -a array; array=(one two three)'? Any explanations, online guides, or FMs to R would be much appreciated.