Re: Problem with if/else



At 2007-03-29 12:10PM, "Uwe Klein" wrote:
if { "$stringA" == "$stringB" }

You don't need the quotes there. The act of substituting variables does
not introduce new word boundaries.

Also, if the OP's expect is sufficiently recent:
if {$stringA eq $stringB} { ... }
may be more efficient.


--
Glenn Jackman
"You can only be young once. But you can always be immature." -- Dave Barry
.



Relevant Pages