Re: [tcljava-user] lsearch "inline" option not found...
Brought to you by:
mdejong
From: Radosław S. <rs...@gm...> - 2009-06-22 17:12:01
|
Rick & Charlie pisze: > > 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"} { > > ... > ... > > } Great news for you. I've just implemented lsearch -inline option :) It's in the Jacl's repo (HEAD). Moreover, options -not, -all and -start were also implemented. More news at Jacl Modernization Project 2009 page : http://wiki.tcl.tk/23679 Re. -- Radoslaw Szulgo |