saveprocs

This command is part of the TclX package.

saveprocs fileName ?procName ...?

Saves the definition of all the named procedures in the file called fileName; if no procedures are named, saves all currently defined. See also showproc.