On Fri, 16 Dec 2005, Youness Alaoui wrote:
bravo, perfect fix :)
thanx!! :)
now, my comment
if { [info exists emotion(casesensitive)] [is_false
$emotion(casesensitive)]} {
set text [string tolower $text]
}
if { ![info exists emotion(casesensitive)] } {
set text [string tolower
yeah right, maybe add () would be better :P
KaKaRoTo
On Fri, 16 Dec 2005 15:07:49 -0500, Vivia Nikolaidou
[EMAIL PROTECTED] wrote:
On Fri, 16 Dec 2005, Youness Alaoui wrote:
bravo, perfect fix :)
thanx!! :)
now, my comment
if { [info exists emotion(casesensitive)] [is_false
ok, here's the simplest basics about tcl/tk
[] means execute something..
so if I do [info exists blabla] it will execute the proc 'info' with
arguments 'exists' and 'blabla' ..
so you can do
puts blabla variable exists or not : [expr [info exists blabla] == 1 ?
true : false]
the { } are