Term of the Moment

Android market share


Look Up Another Term


Definition: macro


(1) A shortcut method for invoking a sequence of user interface functions. Macros let users turn widely used menus and keystrokes into one command or key combination. For example, pressing F2 might cause several menus and dialog buttons to be selected in a prescribed order. Macros can be created automatically by recording the keyboard and mouse actions (see macro recorder). See programmable keypad.

(2) In a home theater remote control, a macro performs two or more functions. For example, when pressing the On button on the remote, a macro can be configured to turn on the A/V receiver and the TV one after the other (see IR remote control and RF remote control).

(3) A special-purpose command language within an application. See macro language.

(4) A camera close-up mode. See macro setting.

(5) In a programming language, a macro is a prewritten subroutine that is called within the program. When assembled or compiled, the macro call is substituted with the actual instructions. If the same macro is called at 10 different places in the program, the routine is duplicated 10 times. In contrast, a function may be called 10 times, but there is only one function routine.

(6) Methods for determining wiring patterns on a chip (see hard macro and soft macro).