Re: [tcljava-user] lsearch "inline" option not found...
Brought to you by:
mdejong
From: Radosław S. <rs...@gm...> - 2009-04-21 14:30:09
|
Rick & Charlie wrote: > I am trying to pass some .tcl files to the Jacl interpreter( > tcljava1.4.1 ) that contain the "lsearch" command that use the > "-inline" option. I get the following error thrown when this is > encountered... > > bad option "-inline": must be -ascii, -decreasing, -dictionary, > -exact, -increasing, -integer, -glob, -real, -regexp, or -sorted > > > Does anybody know how to get around this? Is there a newer version out > there that understands the -inline option for lsearch? Here is an > example of the .tcl code that throws the above error. > > if {[lsearch -inline $MEM_CHANNEL_CONFIG U*] eq "UDIMM_SODIMM"} { > > ... > ... > > } Greetings, I've just joined tcl/java community. I'm participating in the Google Summer of Code 2009 program and at summer I'm going to upgrade Jacl to 8.4 or even 8.5 Tcl language level. `lsearch -inline` is included to implement. Regards, -- Radoslaw Szulgo |