macro


Also found in: Dictionary, Thesaurus, Medical, Financial, Acronyms, Wikipedia.

macro

[′mak·rō]
(computer science)

MACRO

(1)
Assembly language for VAX/VMS.

MACRO

(2)
PL/I-like language with extensions for string processing. "MACRO: A Programming Language", S.R. Greenwood, SIGPLAN Notices 14(9):80-91 (Sep 1979).

macro

(3)
A name (possibly followed by a formal argument list) that is equated to a text or symbolic expression to which it is to be expanded (possibly with the substitution of actual arguments) by a macro expander.

The term "macro" originated in early assemblers, which encouraged the use of macros as a structuring and information-hiding device. During the early 1970s, macro assemblers became ubiquitous, and sometimes quite as powerful and expensive as HLLs, only to fall from favour as improving compiler technology marginalised assembly language programming (see languages of choice). Nowadays the term is most often used in connection with the C preprocessor, Lisp, or one of several special-purpose languages built around a macro-expansion facility (such as TeX or Unix's troff suite).

Indeed, the meaning has drifted enough that the collective "macros" is now sometimes used for code in any special-purpose application control language (whether or not the language is actually translated by text expansion), and for macro-like entities such as the "keyboard macros" supported in some text editors (and PC TSRs or Macintosh INIT/CDEV keyboard enhancers).

macro

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

Macros are also used on home theater remote controls to switch sources. For example, when switching from cable TV to a DVD player, the macro causes the A/V receiver to switch audio source and the TV to switch video source (see IR remote control and RF remote control).

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

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

(4) In assembly language, a prewritten subroutine that is called for throughout the program. At assembly time, the macro calls are substituted with the actual subroutine or instructions that branch to it. The high-level language equivalent is a function.

(5) Methods for determining wiring patterns on a chip (see hard macro and soft macro).
References in periodicals archive ?
Professional photographers in industries like science and technology are using the power and clarity of the Macro Pro Lens with the convenience of the iPhone to examine and capture the smallest objects.
Our sanitization process was able to effectively remove the malicious macro and neutralize the threat Here are two examples of scan results for the sanitized file, using different file type conversion methods.
Macro has worked with ITN since April 2008, and will now continue to provide facilities management services at the company's 200Grays Inn Road site in London.
As customers often demand some specialization of some sensor attributes such as different electronics and housings to serve specific industrial applications, Macro Sensors can quickly address these requests and get parts out the door quickly.
With only one worksheet selected, turn on the macro recorder.
The function that convinced Lockey to switch from the trial of Macro Express to the purchase of Macro Scheduler was the latter software's ability to compile macros into an executable file.
Now create a macro that will take you directly to the worksheet target--in this case input revenue.
The next time you want to do the same task, simply press the hot-key that you assigned to the macro that you recorded, and the program will play back your mouse clicks and keystrokes flawlessly.
By the way, there is a special warning on the Notion website about Word macro viruses that are contained in files with an ".
A macro can be entered into a file with other data or entered into a file that contains only macros.
Frisch of the University of Chicago, who has led monopole searches in the past but is not associated with MACRO.