Skip to content
Tcl Source Code Artifact [be1a192f33]
Login

Artifact [be1a192f33]

Artifact be1a192f33a3ab2773f7885e512adea0596eef76:

Ticket change [be1a192f33] - Ticket [477c24cb39e3c502|477c24cb39] <i>rename ::set and lose custom return options</i> status still Open with 3 other changes by dgp on 2016-09-01 17:31:00.
D 2016-09-01T17:31:00.798
J icomment \r\nHere's\sanother\sdemo,\sthat\sI\sfind\smore\sfocused:\r\n\r\nproc\sp1\s{}\s{return\s-custom1\s1\s1}\r\nproc\sp2\s{b}\s{\r\n\s\s\s\sif\s{$b}\s{\r\n\s\s\s\s\s\s\s\scatch\s{set\sstatus\s[p1]}\sm\so\r\n\s\s\s\s}\selse\s{\r\n\s\s\s\s\s\s\s\sset\sset\sset\r\n\s\s\s\s\s\s\s\scatch\s{$set\sstatus\s[p1]}\sm\so\r\n\s\s\s\s}\r\n\s\s\s\sreturn\s$o\r\n}\r\nputs\s[p2\s0]\r\nputs\s[p2\s1]\r\n\r\nDemonstrates\sa\sclear\sdifference\sin\sbytecode\r\nexecution\scompared\sto\snon-bytecode\sscript\sevaluation.\r\nThey\sought\sto\sbe\sthe\ssame\sand\sthey\sare\snot,\sso\syes\r\nthere's\sa\sbug.\r\n\r\nThis\sleads\sto\san\sunsettling\sdebate\sover\swhich\r\nis\scorrect.\s\sHow\slong\sshould\sa\sreturn\r\noption\ssurvive\swhen\sreturn\scode\sis\sTCL_OK\s?
J login dgp
J mimetype text/plain
K 477c24cb39e3c502dec0329583256072211ea4d3
U dgp
Z 04437b8fa9faf030da5b4c7f1a88b125