View · Index

Unit 1 / Manage Package Instances

  • In our demo package, we want to define a new kind of package manager: ::demo::Package
    • Step 1: Define a new class of package by defining an XOTcl class
    • Step 2: Assign initialisation behaviour to instances of this new package type
  • Create a script file called "note-procs.tcl" in xotcl-demo-note/tcl/ and place the following code snippets there.