.
D 2002-04-18T04:12:31
J icomment Logged\sIn:\sYES\s\nuser_id=148712\n\nNo,\sit\snever\sgets\sto\s'abs';\snote\sthat\sit\sis\s'-'\scomplaining\nabout\sa\snon\svalid\soperand.\sDoubles\sare\sacceptable\soperands\nfor\s'abs'.\n\nLook\sat\swhat\sis\shappening\sin\sINST_SUB:\sTclLooksLikeInt\nreturns\s1,\sso\sGetIntFromObj\sis\scalled\sand\sit\sfails,\sso\sthat\nIllegalExprOperandType\sgets\scalled.\sGetDoubleFromObj\sis\nnever\scalled\s(it\sis\scalled\sonly\swhen\sTclLooksLikeInt\sfails).\s\n\nThe\sproblem\sis\sindeed\sthat\sIllegalExprOperandType\sis\snot\nexpecting\sto\sreceive\s"too\slarge\sintegers".\sThe\slocal\sfix\nthere\swill\sproduce\ssomething\slike\n\n%\sexpr\s{\sabs($end\s-\s$begin)\s}\ncan't\suse\sinteger\svalue\stoo\slarge\sto\srepresent\sas\soperand\sof\n"-"\s\n\nThe\scase\n\n%\sexpr\sabs($end\s-\s$begin)\ninteger\svalue\stoo\slarge\sto\srepresent\s\n\nis\scaught\searlier,\sbefore\ssubtraction\sis\sever\sattempted.\n
J login msofer
J mimetype text/plain
J username msofer
K 542588ffffffffffffffffffffffffffffffffff
U msofer
Z 55b72cbb742a24b2ae4f59e18558709f