zsh-users
 help / color / mirror / code / Atom feed
From: lists <lists@kalama.no-ip.org>
To: zsh-users@sunsite.dk
Subject: typesetting parameters
Date: Sun, 13 Jun 2004 21:54:26 -0500	[thread overview]
Message-ID: <26243486-BDAE-11D8-BDC7-000A95D2C79E@kalama.no-ip.org> (raw)

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.


             reply	other threads:[~2004-06-14  2:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-14  2:54 lists [this message]
2004-06-14  4:58 ` Bart Schaefer
2004-06-14 18:24   ` Vincent Stemen
2004-06-15  2:43     ` lists

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=26243486-BDAE-11D8-BDC7-000A95D2C79E@kalama.no-ip.org \
    --to=lists@kalama.no-ip.org \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).