Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

timeout keyword

Status
Not open for further replies.

tomdagliusa

Programmer
May 31, 2000
34
US
will timeout take a float?

set multiplier 1.5

set hello-timeout [expr 30 * 60 * $multiplier]

set timeout $hello-timeout

 
I'm presuming that you're using Expect, as Tcl itself has no concept of a timeout. And in Expect, the value of the timeout variable must be an integer. - Ken Jones, President
Avia Training and Consulting
866-TCL-HELP (866-825-4357) US Toll free
415-643-8692 Voice
415-643-8697 Fax
 
Thanks for the response. It was a bug introduced on an edit. Expect seemed to be ok with the float until the values got to be over 4096.

Tom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top