Overview
| Artifact ID: | 4dbf6d741a77363efd09c839d6f5f7c21c4dd364 |
|---|---|
| Ticket: | 446017ffffffffffffffffffffffffffffffffff
uplevel bug for rare case scenario |
| User & Date: | msofer on 2001-07-31 06:32:45 |
Changes
- assignee changed to: "msofer"
- closedate changed to: "2001-07-30T23:32:45"
- closer changed to: "msofer"
- icomment:
Logged In: YES user_id=148712 This is the behaviour documented in the man pages: "If level consists of # followed by a number then the number gives an absolute level number. If level is omitted then it defaults to 1. Level cannot be defaulted if the first command argument starts with a digit or #." For performance reasons you should try not to omit the level if you are passing a command assembled with [list] to [uplevel]: if you do, Tcl_UplevelObjCmd will get the string rep of the list, thereby defeating the "pure list optimisation". Note that (assuming 'cmd' does not start with a digit or #), uplevel cmd ?arg? is equivalent to uplevel 1 cmd ?arg?
- login: "msofer"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- subsystem changed to: "45. Parsing and Eval"
- username: "msofer"