Skip to content
Tcl Source Code Artifact [36fad5d780]
Login

Artifact [36fad5d780]

Artifact 36fad5d780252bb331cf6de716a082ee65ac6626:

Ticket change [36fad5d780] - New ticket [542588ffffffffff|542588ffff] <i>bug in expr error handler</i>. by nobody on 2002-04-11 18:05:34.
D 2002-04-11T18:05:34
J assignee msofer
J cmimetype text/plain
J comment %\sset\sbegin\s6658020034\n6658020034\n%\sset\send\s\s\s658020034\n658020034\n%\sexpr\sabs($end\s-\s$begin)\ninteger\svalue\stoo\slarge\sto\srepresent\n%\sexpr\s{\sabs($end\s-\s$begin)\s}\ncan't\suse\sfloating-point\svalue\sas\soperand\sof\s"-"\n%\sexpr\s{\sabs(658020034\s-\s6658020034)\s}\ninteger\svalue\stoo\slarge\sto\srepresent\n\s\nCan\ssomeone\sexplain\swhere\sTcl\sthinks\sthe\sfloating\npoint\svalue\sis?\s\sAnd\swhy\sis\sa\sfloating\spoint\svalue\nnot\sa\svalid\soperand\sof\s"-"?\n\n\s-\sPhil\sEhrens\n\s\nThis\sis\sjust\san\sexample\sof\stoo\smuch\ssharing\sof\sa\ncommon\sroutine\sfor\sproducing\san\serror\smessage.\n\nThere's\sone\sroutine\sfor\sgenerating\sthe\s"illegal\noperand"\serror\smessage,\sand\sby\sthe\stime\sit\sis\scalled,\nthe\scontext\sisn't\saround\sany\smore\sto\stailor\sthe\nmessage\sprecisely.\sSo\sthe\serror\smessage\sgenerator\nknows\sthat\s"658020034"\swas\s"bad",\sand\sit\scan\ssee\sthat\nthat\sis\sa\slegal\sfloating-point\svalue,\sso\sit\sassumes\nthat\sthe\serror\sis\sthat\sa\sfloating-point\svalue\swas\sused\nwhere\sit\sshould\snot\sbe.\sGo\sahead\sand\sfile\sa\sbug\sreport\nunder\sthe\s"ByteCode\sCompiler"\sCategory.\n\n-\sDon\sPorter
J foundin obsolete:\s8.3.4
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 47.\sBytecode\sCompiler
J title bug\sin\sexpr\serror\shandler
J type Bug
K 542588ffffffffffffffffffffffffffffffffff
U nobody
Z c5c3cfd970cabca9a30cedd5b1f0fba8