Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: db75649bc5636db30d7e4983e55e222b1985432edb9af6f5a35f5d6c7db3fdca
Ticket: 858a615194b96b1e3d865bea1b1487b966e3dc24
oo::define supports classvariable but this is not really documented
User & Date: mnsummerfield on 2025-10-08 09:23:33
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-plain"
  4. comment changed to:
    On page https://www.tcl-lang.org/man/tcl9.0/TclCmd/define.html if you search for 'classvariable' you will find an example that shows how to create a class variable.
    
    (1) There is no mention of classvariable on this page apart from the example. Surely there ought to be?
    
    (2) There is no mention that it is possible to create class constants. However, "Emiliano" shows that this can be done: https://comp.lang.tcl.narkive.com/RtoJyYzS/are-class-consts-possible#post7 Again, shouldn't this be documented?
    
  5. foundin changed to: "9"
  6. is_private changed to: "0"
  7. login: "mnsummerfield"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "852538396f016355a4575694e3e122b83db2bc48"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "mnsummerfield"
  14. subsystem changed to: "10. Objects"
  15. title changed to:
    oo::define supports classvariable but this is not really documented
    
  16. type changed to: "Bug"