Overview
| Artifact ID: | 9b9d9a15b785a6af223e459af6cb6308347bb3a7 |
|---|---|
| Ticket: | ef422602e77616a686549b20985e0e5bf8296eaa
TclOO oo::objdefine variable |
| User & Date: | aspect on 2016-07-05 05:00:22 |
Changes
- closedate changed to: "2457574.70859391"
- closer changed to: "aspect"
- icomment:
This is behaving as intended, though it might be surprising without a close reading of http://www.tcl.tk/man/tcl/TclCmd/define.htm#M30 to see: > This slot (see SLOTTED DEFINITIONS below) arranges for each of the named variables to be automatically made available in the methods declared by the object being defined. oo::define variable - makes variables automatically visible in methods defined on the same class. oo::objdefine variable - makes variables automatically visible in methods defined _on the object_. https://wiki.tcl.tk/41708 and particularly http://www.magicsplat.com/articles/oo.html deal with this in more detail.
- login: "aspect"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"