For Programmers: Free Programming Magazines  


Home > Archive > Tcl > June 2007 > Re: Passing list as multiple arguments to proc









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Passing list as multiple arguments to proc
Glenn Jackman

2007-06-28, 7:12 pm

At 2007-06-27 03:33PM, "John Seal" wrote:
> Some people like to write:
>
> eval [linsert $argList 0 testProc]


There is an illuminating atricle written by Jeff Hobbs discussing this
very idiom, but I couldn't formulate the right search phrase to locate
it.

--
Glenn Jackman
"You can only be young once. But you can always be immature." -- Dave Barry
Uwe Klein

2007-06-28, 7:12 pm

Glenn Jackman wrote:
> At 2007-06-27 03:33PM, "John Seal" wrote:
>
>
>
> There is an illuminating atricle written by Jeff Hobbs discussing this
> very idiom, but I couldn't formulate the right search phrase to locate
> it.
>


if 1 [linsert $argList 0 testProc]

is a significant bit faster.

uwe
Michael Schlenker

2007-06-29, 10:08 pm

Glenn Jackman schrieb:
> At 2007-06-27 03:33PM, "John Seal" wrote:
>
> There is an illuminating atricle written by Jeff Hobbs discussing this
> very idiom, but I couldn't formulate the right search phrase to locate
> it.
>

Your talking about :
http://aspn.activestate.com/ASPN/Ma...cl-core/1748289

Michael
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com