zsh-users
 help / color / mirror / code / Atom feed
* typesetting parameters
@ 2004-06-14  2:54 lists
  2004-06-14  4:58 ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: lists @ 2004-06-14  2:54 UTC (permalink / raw)
  To: zsh-users

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-06-15  2:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-14  2:54 typesetting parameters lists
2004-06-14  4:58 ` Bart Schaefer
2004-06-14 18:24   ` Vincent Stemen
2004-06-15  2:43     ` lists

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).