panickedkernel
Programmer
Ok guys, heres the low down, i am trying to evaluate the expression:
(5556027 != 12345678901). heres how i am doing it...
psExpression = "(5556027 != 12345678901)";
/* pInterp is the pointer to my tcl interpreter obviously */
then i call Tcl_ExprBoolean(pInterp, psExpression, &bResult);
this returns TCL_ERROR, and the subsequent call to Tcl_GetStringResult(pInterp) returns:
"integer value too large to represent"
however, i am able to evaluate (5556027 != 1234567890), so its the length of the second operand (>10 chars) that is killing me. I am using tcl 8.1p1.
My question is this, is this a limitation of tcl (i dont see how it is) or is this a problem with how i have my interpreter cofigured? ANY help would be greatly appreciated.
--Louis (loualexa@nospam.cisco.com)
(remove the nospam first please)
(5556027 != 12345678901). heres how i am doing it...
psExpression = "(5556027 != 12345678901)";
/* pInterp is the pointer to my tcl interpreter obviously */
then i call Tcl_ExprBoolean(pInterp, psExpression, &bResult);
this returns TCL_ERROR, and the subsequent call to Tcl_GetStringResult(pInterp) returns:
"integer value too large to represent"
however, i am able to evaluate (5556027 != 1234567890), so its the length of the second operand (>10 chars) that is killing me. I am using tcl 8.1p1.
My question is this, is this a limitation of tcl (i dont see how it is) or is this a problem with how i have my interpreter cofigured? ANY help would be greatly appreciated.
--Louis (loualexa@nospam.cisco.com)
(remove the nospam first please)