<i>oo::define supports classvariable but this is not really documented</i>.
by
.
D 2025-10-08T09:23:33.651
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-plain
J comment On\spage\shttps://www.tcl-lang.org/man/tcl9.0/TclCmd/define.html\sif\syou\ssearch\sfor\s'classvariable'\syou\swill\sfind\san\sexample\sthat\sshows\show\sto\screate\sa\sclass\svariable.\r\n\r\n(1)\sThere\sis\sno\smention\sof\sclassvariable\son\sthis\spage\sapart\sfrom\sthe\sexample.\sSurely\sthere\sought\sto\sbe?\r\n\r\n(2)\sThere\sis\sno\smention\sthat\sit\sis\spossible\sto\screate\sclass\sconstants.\sHowever,\s"Emiliano"\sshows\sthat\sthis\scan\sbe\sdone:\shttps://comp.lang.tcl.narkive.com/RtoJyYzS/are-class-consts-possible#post7\sAgain,\sshouldn't\sthis\sbe\sdocumented?
J foundin 9
J is_private 0
J login mnsummerfield
J priority 5\sMedium
J private_contact 852538396f016355a4575694e3e122b83db2bc48
J resolution None
J severity Minor
J status Open
J submitter mnsummerfield
J subsystem 10.\sObjects
J title oo::define\ssupports\sclassvariable\sbut\sthis\sis\snot\sreally\sdocumented
J type Bug
K 858a615194b96b1e3d865bea1b1487b966e3dc24
U mnsummerfield
Z 580024f02634cbdc2633e1be5f6138b7