How to properly combine evaulation and variable?
- From: Keith <spam@xxxxxxxxxxxx>
- Date: 14 Nov 2005 22:19:14 GMT
set a [string index $fr 73]
if {$a > 0} {set a 1} else {set a " "}
I have tried:
if {"$a" [string index $a 73] > 0} {set a 1} else {set a " "}
but I get a expression error.
--
Best Regards, Keith
(o_
//\
V_/_
.
- Prev by Date: Re: simple question
- Next by Date: telnet expect script error
- Previous by thread: clock clicks on Solaris 9
- Next by thread: Re: How to properly combine evaulation and variable?
- Index(es):
Relevant Pages
|