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:
No other modules are required in order to use this module
This module requires no definition files.
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.