In programming languages, a macro is any programming or user interface that allows one to associate a macro name to a set of instructions to be substituted wherever the macro name appears in a program. The macro, when used, expands into something usually larger than itself. Often, the macro facility allows arguments to be substituted into the expanded code. Sometimes, the facility permits conditional expansion, internalized dynamic generation of unique names, etc. Tcl has several macro systems. * [expand] * [Sugar] * [Tmac - a Tcl macro processor package] * [tpp] * [cmacro] -- A C-preprocessor-like macro substitution mechanism for Tcl source code. An experiment on compiled macros are at: [http://sourceforge.net/tracker/?func=detail&atid=310894&aid=1870327&group_id=10894] ---- [Category Glossary]