A macro is used to define variables or procedures , to allow reuse of code , or to design domain-specific languages .
A macro is used to design variables or procedures , enable code - reuse , or domain-specific languages to define .