Overview
| Artifact ID: | 15aa6a934fc168ee41f6f958c902df5aa00ba007 |
|---|---|
| Ticket: | 7bcf45d4cde3e639c64e43306878eb50f3266853
vwait inside TclOO method |
| User & Date: | dkf on 2016-10-12 09:54:02 |
Changes
- closedate changed to: "2457673.91253314"
- closer changed to: "dkf"
- comment changed to:
This example never prints "after forever": <pre> oo::class create A { variable forever method stop {} { puts stopping.......... set forever 1 } method start {} { vwait forever puts "after forever..." } } set a [A new] after 1000 $a stop $a start </pre> - icomment:
The <tt>vwait</tt> command has <i>always</i> been documented to work with variables resolved from the global namespace. TclOO does not change that. Using this instead should work: <pre> vwait [my varname forever] </pre>
- login: "dkf"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- username: "dkf"