answersLogoWhite

0

A macro is a fragment of code which has been given a name. Whenever the name is used, it is replaced by the contents of the macro. There are two kinds of macros. They differ mostly in what they look like when they are used. Object-like macros resemble data objects when used, function-like macros resemble function calls.

  • Give symbolic names to constants, so global changes need be made in only one place.
  • Conditionally compile blocks of code.
  • Abbreviate or customize the language of frequently used blocks of coding where a subroutine call is not desired.
  • Improve readability of the code to make its structure and purpose more obvious.
User Avatar

Wiki User

7y ago

What else can I help you with?

Related Questions

What are the features or importance of micro and macro economics?

The important of each


What is macro processor and explain features of macro facility?

features:-conditional macro expansionconcatenation of macro parametersgeneration of unique labelsmacro instruction argumentsexpansion time variablesexpansion time loops


What are the features of 3rd generation features?

3rd generation languages are the most common form, including standard languages such as C,C++ and Java while languages


What are the best features to look for in a macro photography stand?

When choosing a macro photography stand, look for features such as stability, adjustable height, precise positioning controls, compatibility with different camera models, and portability for ease of use.


What system that classifies languages by their features?

The system that classifies languages by their features is called a typological classification system. It categorizes languages based on shared structural properties such as word order, phonological patterns, and grammatical features. This helps linguists identify patterns across different languages and study relationships between language groups.


What is macrolinguistics?

Macro-linguistics is the study of language and the cultural and behavioral features associated with the language. Macro-linguistics study meanings and how the language and meaning function within social systems.


What are the key features and benefits of the Sigma 18-250mm f3.5-6.3 DC OS HSM Macro lens?

The key features of the Sigma 18-250mm f3.5-6.3 DC OS HSM Macro lens include a wide focal range, optical stabilization, high-speed autofocus, and macro capabilities. The benefits of this lens are versatility in capturing a variety of subjects, reduced camera shake, quick and accurate focusing, and the ability to capture close-up details with the macro function.


Why do some languages share some common features?

the languages pass on to diffrent generation and change over time.


What is the difference between executing a macro and calling a macro?

Calling a macro loads the macro into memory, while executing the macro runs the macro.


What are the features of access database?

query,table,form,report,data access page,macro,module,event,control.


What are the features of 3rd generation computer language?

3rd generation languages are the most common form, including standard languages such as C,C++ and Java while languages


What are the key features and specifications of the Sigma 18-250mm f3.5-6.3 DC Macro lens?

The Sigma 18-250mm f3.5-6.3 DC Macro lens is a versatile lens with a wide focal range of 18-250mm, allowing for both wide-angle and telephoto shots. It has a maximum aperture of f3.5-6.3, making it suitable for various lighting conditions. The lens also features macro capabilities for close-up photography.