In common language, we call the macro facility macros. The macro facility is a means for text substitution. It has two main components:
- Macro processor: The portion of the facility that does the work
- Macro language: The syntax that communicates with the processor
Macros are generally used as macro variables or macro definitions. In the former, one or multiple variables can take the value from user inputs, or can be based on the mathematical or logical resolution of some statements. The macro definitions can consist of various tasks that can be called upon by the user.
Remember these don'ts even before you start writing macros, or else you might get caught up in programming rather than delivering your objectives efficiently:
- Macros can't fully substitute for usual programming. Some of the tasks you do in programming are non-repetitive and could be...