On Tue, 28 Dec 1999, [EMAIL PROTECTED] wrote:

>set tmpString1 [$widget(details) get 1.0 end]
>
>set cr [llength $tmpString1]

Is there a special reason why you use "llength"? You count
the number of ELEMENTS in the LIST tmpString1 ...

I would recommend (to get rid of that " problem too):

set tmpString1 [list [$widget(details) get 1.0 end]]
set cr [string length $tmpString1]

This way you generate a list with ONE element; the "list"
command takes care of all critical characters by putting
{}s around the original string.

-- 
Josua Dietze
------------
No sigfile
No ideas
No money ....

---------------------------------------------------------------------------
To unsubscribe from the Visual Tcl mailing list, please send a message
to [EMAIL PROTECTED] with "unsubscribe vtcl [EMAIL PROTECTED]" in the
message body (where [EMAIL PROTECTED] is your e-mail address).

Reply via email to