Valerio Gionco <[EMAIL PROTECTED]> writes:

> "David N. Welton" wrote:
> 
> > I have committed the initial 'var' command to CVS.  Please check it
> > out and let me know what you think.
 
> I've checked it out from the CVS; looks promising.
 
> But if I want to tell if 'x' is a variable or a list,I'm forced
 
> to count the occurrencies of 'x' in [var names].

Or you could do

llength [ var list x ]

> - add a function 'var pairs' (or whatever) which returns a
> 
>   key-value list

Such as 

{x 2} {y 2} {z {45 56}} or what?

-- 
David N. Welton
Free Software: http://people.debian.org/~davidw/
   Apache Tcl: http://tcl.apache.org/
     Personal: http://www.efn.org/~davidw/
         Work: http://www.innominate.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to