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!

TCL Maximum Integer value

Status
Not open for further replies.

Jkraus

Programmer
Sep 25, 2001
1
US
Does anyone know how to recompile the TCL language to allow larger than 2147483647 Integer Sizes? I am looking to be able to set an Int to a 4 byte word (max value 4294967295).

Here is what I have found:
proc unsigned var {
uplevel trace var $var w "{set var \[format %u \$$var\];#}"
};#unsigned


This procedure will allow the setting of larger values to a variable, but this value will NOT work in conjunction with the incr command. Any thoughts?::)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top