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

## Appinit.tcl

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

## Comcode.tcl

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

## Conv.tcl

This module performs math conversions.

## Datime.tcl

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

## Dscan.tcl

This module consists of a directory scanning API.

## Fio.tcl

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.

## Fxp.tcl

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.

## Logger.tcl

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

## Logman.tcl

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).

## Misc.tcl

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

## Parse.tcl

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

## Path.tcl

This modules contains procedures to split and join directory paths.

## Prefs.tcl

This modules contains procedures to read and write preference files.

## Spec.tcl

This module contains procedures specific to Tcl.

## Stdhead.tcl

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

## Wlib.tcl

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

# Graphical Library Modules

These Tcl modules use/require the Tk graphical toolkit.

## Cutcopy.tcl

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

## Finddlg.tcl

This module presents a find dialog used with text widgets.

## Fontdlg.tcl

This module presents a font dialog to allow changing fonts.

## Gotodlg.tcl

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

## Menu.tcl

This module adds menu entries to an existing menu bar.

## Menubar.tcl

This module creates a base menu bar in an application.

## Pathdlg.tcl

This module presents a dialog requesting a directory path.

## Tw.tcl

This module contains procedures specific to text widgets.

## Winprint.tcl

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

## Popupdown.tcl

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