On Wed, 12 Jan 2000, Larry W. Virden wrote:

> eval is specifically intended to do the conversion of a list into seperate
> arguments...

I must be living on a different wavelength.  From the help file:

"Eval takes one or more arguments, which together comprise a Tcl script
containing one or more commands. Eval concatenates all its arguments in
the same fashion as the concat command, passes the concatenated string to
the Tcl interpreter recursively, and returns the result of that evaluation
(or any error generated by it)."

Probably I'm misunderstanding what's being said.  Below, we get back from
eval one single list whose length is 4:

% llength [eval list a b c d]
4



|| Ken Bowen      Applied Logic Systems, Inc.         PO Box 400175,     
||====            Voice:  +1 (617)497-0100            Cambridge
||                FAX:    +1 (617)497-3963            MA  02140  USA
                  Email:  [EMAIL PROTECTED]        WWW: http://www.als.com

---------------------------------------------------------------------------
To unsubscribe from the Visual Tcl mailing list, please send a message
to [EMAIL PROTECTED] with "unsubscribe vtcl [EMAIL PROTECTED]" in the
message body (where [EMAIL PROTECTED] is your e-mail address).

Reply via email to