|
Posted by Bryan Oakley on 04/21/06 18:16
comp.lang.tcl wrote:
> Thanx for the proc, however, tclsh locks up tight, bringing down PHP
> and Apache and all web services in the process, if you try this:
>
> set string [flatten [PROPER_CASE {{-hello} {world}}]]
>
> If you have a string with curly braces and a dash, it blows up. Take
> one or the other away, all is well.
"it blows up" does nothing to help us figure out the problem. Do you get
any sort of tcl error you can show us, either on the web page or in a
log? It really sounds like your problem is that PROPER_CASE is buggy,
and/or it is improperly documented.
Would it be possible for you to show us the result of the following command?
[list PROPER_CASE [info args PROPER_CASE] [info body PROPER_CASE]]
--
Bryan Oakley
http://www.tclscripting.com
[Back to original message]
|