The only option known to this procedure is '-array'. Allowed values are 'compact' and 'verbose', the first is used as default. Only dumping of arrays is affected by this option. In compact format an 'array set' statement will be generated, otherwise a sequence of individual 'set's. A string containing a tcl statement to restore the specified variable and its contents.
Dumps procedure procName into a string.
Evaluating the string in a tcl interpreter will restore the procedure and add it to that interpreter. The name of the procedure to dump. A string containing a tcl statement to restore the procedure definition. Evaluating the string will restore the variable. The only option known to this procedure is '-array'.