Skip to content
Tcl Source Code Artifact [2a56a18201]
Login

Artifact [2a56a18201]

Artifact 2a56a182019ba7afd593cbc02c0ff81111cb157b:

Ticket change [2a56a18201] - New ticket [576512ffffffffff|576512ffff] <i>Math problem.</i>. by nobody on 2002-07-02 18:20:03.
D 2002-07-02T18:20:03
J assignee nobody
J cmimetype text/plain
J comment \nUsing\s8.2.3\s(SGI),\s8.3.1,\sor\s8.3.3,\s(both\slinux)\nthe\sfollowing\sbehavior\sis\sobserved:\n\n%\sset\sx\s[expr\s1.2*3.0]\n3.6\n\n%\sif\s{3.6\s>\s$x}\s{puts\s"3.6\sis\sgreater\sthan\s$x!"}\n3.6\sis\sgreater\sthan\s3.6!\n\n%\sputs\s[expr\s3.6\s>\s$x]\n0\n\n\nSo,\sapparently\sthe\sexpr\sprocedure\sevaluates\sdifferently\nthan\sthe\sparsing\sof\sthe\sif\sconditional.\s\n\nI\swould\srather\snot\smake\sall\sof\smy\sif\sstatements\slike:\n\nif\s{[expr\s3.6\s>\s$x]\s==\s1}\s{...}
J foundin None
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem None
J title Math\sproblem.
J type Bug
K 576512ffffffffffffffffffffffffffffffffff
U nobody
Z 8a8da80f4b719e09255b82e37e82b778