Tcl Core Library

The Future Lab core Tcl library is licensed under the terms of the GNU General Public License (GPL). Note that under these license terms, you are not allowed to embed these library files into non-GPL software.

The Future Lab core or foundation Tcl library is made up of 25 modules or source files consisting of two main types of modules: graphical (which make use of the Tk graphical component within Tcl) and non-graphical. Refer to the Tcl software overview for an overview of all Future Lab Tcl modules.

One of the differences between the C code and the Tcl code is that there is no concept of include files in Tcl (other than source statements). All defines normally found in include files in the C code have been converted to Tcl modules using constants.

Every Tcl procedure is described in an HTML file describing the entire library module. Each argument to a Tcl procedure is documented consisting of the argument name, type and description. The type is not a data type (as everything in Tcl is a string), but rather an indication of what type of string is expected.

Here is a list of all of the Tcl library modules:

Non-graphical Library Modules


This module handles the notification of application initialization along with the storing and access of the application name.


This definition file contains the common send and reply code definitions.


This module performs math conversions.


This module contains functions that manipulate/convert dates and times.


This module consists of a directory scanning API.


Fio stands for file i/o. The functions contained in this module perform generic file access. File i/o functions contained in this module are stream/channel oriented.


This module is the fixed-point math API. Procedures in this module allow you to perform basic floating-point calculations without using floating-point numbers.


This module contains functions to handle stand-alone or personal logging. Messages are written to a log file.


This module is the logging manager. It manages messages sent to dynamic destinations. Messages can be sent to any personal log or the system logger (the system logger is not operational yet).


This module contains miscellaneous procedures that do not belong in any other module.


Procedures in the parse library module manipulate string data. Many of the procedures deal with word data.


This modules contains procedures to split and join directory paths.


This modules contains procedures to read and write preference files.


This module contains procedures specific to Tcl.


This module is the main definition file which contains global definitions for all Future Lab Tcl applications.


This module contains procedures specific to our weather station (obsolete).

Graphical Library Modules

These Tcl modules use/require the Tk graphical toolkit.


This module manages the clipboard cut, copy and paste from/to text widgets.


This module presents a find dialog used with text widgets.


This module presents a font dialog to allow changing fonts.


This module presents a goto line number dialog used along with text widgets.


This module adds menu entries to an existing menu bar.


This module creates a base menu bar in an application.


This module presents a dialog requesting a directory path.


This module contains procedures specific to text widgets.


This module provides the ability to print a text file under the Windows operating system only (printing is done through the Notepad application).


This module displays and removes a popup window on the screen.

Goto Top | Tcl Applications | Tcl Software Overview
| Future Lab Home | Contact Webmaster | Feedback

Copyright © 2005-2008 Future Lab, Last Updated Sep 01, 2008