Overview
| Artifact ID: | 7dfbb3e02471099774f3b0d10565c4f5aea738d7 |
|---|---|
| Ticket: | 729692ffffffffffffffffffffffffffffffffff
redef of bcc'ed commands inoperant in current bcode |
| User & Date: | msofer on 2003-11-16 06:24:32 |
Changes
- icomment:
Logged In: YES user_id=148712 Not much that we can do about that? This is really a fundamental bug in the bytecode model: once a bytecode is running, it can't be modified. In your example, changes to bytecompiled commands called from within main's body will not affect main while it is running. Another example is proc tst {} { rename set _set proc set args {puts GOTCHA} set x 1 rename set {} rename _set set } Running tst the new definition of 'set' will be ignored,as it was bytecompiled. - login: "msofer"
- mimetype: "text/plain"
- title changed to:
redef of bcc'ed commands inoperant in current bcode
- username: "msofer"