You are completely right. I was lazy and not using the latest version, sorry.
With the latest version the problem does not occur anymore. Thanks Holger ____________________________________________________________________ | | Holger Zeinert - Development Manager CAE Division |____________________________________________________________________ | LMS Deutschland GmbH - tel +49 631 4166-180, fax -166 | Luxemburger Str. 7, 67657 Kaiserslautern, GERMANY | mailto:[EMAIL PROTECTED] http://www.lmsintl.com > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 03, 2002 7:05 PM > To: Zeinert, Holger > Cc: '[EMAIL PROTECTED]' > Subject: Re: var get > > > "Zeinert, Holger" <[EMAIL PROTECTED]> writes: > > > I thought I sent this already, but I'm not sure, so I post it again: > > > when using similar GET/POST variable names like "var1", "var12", > > "var13" all starting with a the same string "var1", but some are > > longer. How can I get *only* value of "var1". When trying [var get > > var1] it returns a list with all values of variables, matching > > "var1*". Is there an -exact option? I could not find it in the > > documentation. I did not looked it up in the source code, though. > > This sounds like a bug we fixed a while ago (Thanks to David Brancato > for catching it) - are you running the latest version? > > I do: > http://localhost/foo.ttml?var1=foo&var12=bar with this: puts [var get var1] and just get 'foo'. Sorry for the late reply - I was off in Arizona for Thanksgiving. -- David N. Welton Consulting: http://www.dedasys.com/ Personal: http://www.dedasys.com/davidw/ Free Software: http://www.dedasys.com/freesoftware/ Apache Tcl: http://tcl.apache.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
