Overview
| Artifact ID: | fa81f1b530215eb3a32519a38c340c0bd14b5fa3 |
|---|---|
| Ticket: | 451441ffffffffffffffffffffffffffffffffff
tcl::nop - No-op and minimal bytecode |
| User & Date: | dgp on 2001-08-16 03:51:55 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
In the discussions about TIP 53 http://purl.org/tcl/tip/53.html Miguel Sofer counter-proposed an approach where Tcl would add a single special built-in command [tcl::nop], and then the [assert] functionality (and more!) could be defined in terms of [tcl::nop] as a separate package. Here is a patch Miguel and I have produced that implements tcl::nop. Try it! The result of [tcl::nop] is always an empty string. When bytcode compiled, [tcl::nop] does nothing and its arguments are not substituted. When not byte-code compiled (very unusual), [tcl::nop] behaves exactly like proc tcl::nop args {} so its arguments are substituted, but it still does nothing. - foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "- New Builtin Commands"
- title changed to: "tcl::nop - No-op and minimal bytcode"
- type changed to: "RFE"