A function is an object that produces a scalar value from an expression composed of fields, other functions, and variables.
function functionName [ -parameters parameterList ]
The available functions and their parameters are listed in section 3.1.
Parameter lists are simply ordered lists of strings describing one of a field, a function, or a TCL variable name in the appropriate slot for that particular function. The string for a function is the value returned by a previous function command.