Sujet : Re: Are class consts possible?
De : rich (at) *nospam* example.invalid (Rich)
Groupes : comp.lang.tclDate : 20. Jun 2025, 14:28:13
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <1033nld$1qj6$1@dont-email.me>
References : 1
User-Agent : tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64))
Mark Summerfield <
m.n.summerfield@gmail.com> wrote:
Is it possible to create class-specific consts i.e., consts that exist
inside a class's namespace?
Tcl does not have "constants" in the vien of other languages
"constants".
However, there are several ways to "roll your own":
https://wiki.tcl-lang.org/page/constants