"Andy Goth" <[EMAIL PROTECTED]> wrote: > On Thu, 4 Oct 2007 21:35:30 -0500, Andy Goth wrote > > (See my original proposal writeup at the bottom of > > http://wiki.tcl.tk/2633 for more details.) > > I made a significant update to the bottom of said page. I'll briefly cover it > here as well. Basically I revise my proposal to be less generic, to only > support the limited case of a single Tcl variable expanding to the entire > value-list. > > Old script: > > > $ set x {1 2 3} > > $ db eval {insert into xyzdata values({*}$x)} > > New script: > > $ db eval {insert into xyzdata values $x} > > Note the lack of parentheses around $x. This distinguishes it from the case > of inserting a single value "1 2 3" into xyzdata. >
There are deep technical reasons why this is very difficult and unlikely to ever happen. I suggest you go head and write a short TCL procedure to accomplish the same thing. -- D. Richard Hipp <[EMAIL PROTECTED]> ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------