<i>Bytecode error -TclExecuteByteCode error</i> status still Open with 4 other changes
by
.
D 2001-03-08T22:30:04
J icomment Logged\sIn:\sYES\s\nuser_id=79902\n\nBytecodes\sfor\smy\slittle\sscript\sthat\sexercises\sthe\sproblem\nfollow:\n\nByteCode\s0x370c8,\srefCt\s1,\sepoch\s0,\sinterp\s0x24e30\s(epoch\s0)\n\s\sSource\s"foreach\sa\sa\s{puts\s[concat\sa;break]}"\n\s\sCmds\s4,\ssrc\s35,\sinst\s35,\slitObjs\s4,\saux\s1,\sstkDepth\s3,\ncode/src\s6.06\n\s\sCode\s212\s=\sheader\s100+inst\s35+litObj\s16+exc\s28+aux\n8+cmdMap\s16\n\s\sProc\s0x302d0,\srefCt\s1,\sargs\s0,\scompiled\slocals\s3\n\s\s\s\s\s\sslot\s0,\sscalar,\stemp\n\s\s\s\s\s\sslot\s1,\sscalar,\stemp\n\s\s\s\s\s\sslot\s2,\sscalar,\s"a"\n\s\sException\sranges\s1,\sdepth\s1:\n\s\s\s\s\s\s0:\slevel\s1,\sloop,\spc\s17-28,\scontinue\s10,\sbreak\s32\n\s\sCommands\s4:\n\s\s\s\s\s\s1:\spc\s0-33,\ssrc\s0-34\s\s\s\s\s\s\s\s\s2:\spc\s17-28,\ssrc\s13-33\n\s\s\s\s\s\s3:\spc\s19-24,\ssrc\s19-26\s\s\s\s\s\s\s4:\spc\s26-26,\ssrc\s28-32\n\s\sCommand\s1:\s"foreach\sa\sa\s{puts\s[concat\sa;break]}"\n\s\s\s\s(0)\spush1\s0\s\s\s\s\s\s\s\s\s#\s"a"\n\s\s\s\s(2)\sstoreScalar1\s0\s\s#\stemp\svar\s0\n\s\s\s\s(4)\spop\s\n\s\s\s\s(5)\sforeach_start4\s0\s\n\s\s\s\s(10)\sforeach_step4\s0\s\n\s\s\s\s(15)\sjumpFalse1\s17\s\s\s\s\s\s\s\s\s\s#\spc\s32\n\s\sCommand\s2:\s"puts\s[concat\sa;break]"\n\s\s\s\s(17)\spush1\s1\s\s\s\s\s\s\s\s#\s"puts"\n\s\sCommand\s3:\s"concat\sa"\n\s\s\s\s(19)\spush1\s2\s\s\s\s\s\s\s\s#\s"concat"\n\s\s\s\s(21)\spush1\s0\s\s\s\s\s\s\s\s#\s"a"\n\s\s\s\s(23)\sinvokeStk1\s2\s\n\s\s\s\s(25)\spop\s\n\s\sCommand\s4:\s"break"\n\s\s\s\s(26)\sbreak\s\n\s\s\s\s(27)\sinvokeStk1\s2\s\n\s\s\s\s(29)\spop\s\n\s\s\s\s(30)\sjump1\s-20\s\s\s\s\s\s#\spc\s10\n\s\s\s\s(32)\spush1\s3\s\s\s\s\s\s\s\s#\s""\n\s\s\s\s(34)\sdone\s\n\nI\sbelieve\sthe\sproblem\sis\sthat\sthe\sbreak\sdoesn't\sclobber\sthe\nvalues\spushed\sonto\sthe\sstack\sthat\swere\ssupposed\sto\sbe\nremoved\sbefore\sreaching\sthe\scatching\scontext\s(the\sforeach).\n
J login dkf
J mimetype text/plain
J username dkf
K 406709ffffffffffffffffffffffffffffffffff
U dkf
Z f19bfd40b25e228aff2d9196c020acf3