Tcl Specific Library Module

The Tcl specific library module has the file name spec.tcl. This module contains procedures that are specific to the Tcl language.

Here is a list of procedures in this module:

Module Dependencies

No other modules are required in order to use this module

Module Definition Files

This module requires no definition files.

Module Procedures


Declaration  : proc const {name value}
Parameters   :
      Name   : name
      Type   : string
Description  : name of constant

      Name   : value
      Type   : string
Description  : value of constant

This procedure creates a read-only constant with the name of constant and the value of constant. The implementation of constants was taken from here.


Declaration  : proc sleep {n}
Parameters   :
      Name   : n
      Type   : positive integer
Description  : sleep period

This procedure will cause the program to pause for the sleep period. The implementation of this sleep procedure was taken from here.


Declaration  : proc int_remove_lz {inval}
Parameters   :
      Name   : inval
      Type   : integer
Description  : input value

Returns      : value stripped of all leading zeros

This procedure will strip the input value of all leading zeros.

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

Copyright © 2006 Future Lab, Last Updated Jul 01, 2006