Macro

> Code - (Programming|Computer) Language > (Function | Operator | Map | Mapping | Transformation | Method | Rule | Task | Subroutine)

1 - About

macro also known as macroinstruction

Macros are a text substitution mechanism.

macros replace (expand) a big block of code from a small sequence of characters.

The term derives from “macro instruction”, and such expansions were originally used in generating assembly language code.

The mapping process that instantiates (transforms) a macro use into a specific sequence is known as macro expansion.

Vim has full implementation of macros. It can record into a register (macro) what a person types on the keyboard and it can be replayed.

The mechanism by which the code fragments are recognised (for instance, php being bracketed by <?php and ?>) is similar to a textual macro language.

3 - Documentation / Reference

Advertising
code/function/macro.txt · Last modified: 2018/12/29 21:56 by gerardnico