[Xotcl] Static member functions?

Michael A. Cleverly michael@cleverly.com
Wed, 16 Apr 2003 00:30:26 -0600 (MDT)


(Disclaimer: I'm quite new to XOTcl & I have read the tutorial a couple
times but maybe not enough.  :-)

What's the XOTcl idiom/way for a static member variable (what snit, the
only other OO Tcl package/extension I've used, would call a "type
variable")?

Contrived example: if I had a "Chapters" class, I'd like to have a single
variable, accessible by all instances of the class, that kept track of the
"current" chapter.  Suggestions?

Michael