Sujet : Re: A TclOO question (for experts?)
De : apnmbx-public (at) *nospam* yahoo.com (Ashok)
Groupes : comp.lang.tclDate : 14. Apr 2025, 17:21:55
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vtjcn4$1le4s$1@dont-email.me>
References : 1 2 3 4 5
User-Agent : Mozilla Thunderbird
Not seen Grok's example but Tcl 9 does have class variables. See
https://www.tcl-lang.org/man/tcl9.0/TclCmd/classvariable.html.
On 4/14/2025 9:35 PM, abu wrote:
Grok was very clever explaining the current code, but it was wrong
trying to depict a more complex case.
"classVar" is not a class-variable (despite its name).
Simply Tcloo has not (yet) a concept of class-variables. All the
variables are instance-variables,