Reply To: TCL Namespaces

› Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › TCL Namespaces › Reply To: TCL Namespaces

#58651
Richard Hart
Participant

    Mark.

    As Charlie has indicated, we use namespaces to load variables that are private to the thread and code they are in.  We have our namespace wrapped within a ‘set’ and ‘get’ function and generally use them to:

    store constants, set by a configuration file;  or

    store session variables; or

    make a variable ‘global’ to all functions within the code.