answersLogoWhite

0


Best Answer

A global variable is a place of data storage which multiple modules of application (sometimes all modules) can access to read and modify the variable's content.

A macro is something altogether different. A macro is a set of instructions, typically used to save keystrokes when coding, and to maintain code readability. While macros can reference, declare or use variables (including global variables), macros and variables are quite different and cannot be compared.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

10y ago

Global variables are system-wide variables set by the OS at start-up, and can't be modified.

Environmental variables are variables that are system-wide, but can be modified.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the differences between a global variable and macro?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Give the differences between micro and macro economics?

ten difference of micro economics macro economics


Differences between micro environment and macro environment of an organization?

Uranus is the greenish blue planet and it is gaseous.


What is micro and how it is different from c variable name?

A macro is a variable that has a constant value throughout the program whereas a C variable is an identifier whose value can differ from function to function, it can be incremented or decremented whereas the value of a macro remains same .


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 differences between macroeconomics and microeconomics?

for micro we are studying the economic systems in general but as for macro we are now `looking at the world 's economy as a whole


What is enclosed between a macro header statement and a macro end statement?

The macro content.


Difference between macro and micro?

Macro is big micro is little


What are the definitions and differences of Mirco and Marco levels?

micro is a small member of a system but macro is totality of the system therefor macro is larger than micro.


What is the difference between macro and micro neutrons?

macro is bigger than micro


What are the hedge funds in Barbados?

There are many hedge funds there especially those of the global macro variety.


Is the relationship between the inflation rate and changes in the quantity of money macro or micro economics?

macro


What is the difference between macro and micro decomposers?

The difference between macro and micro decomposers is micro decomposers can't be seen by the naked eye while macro decomposers are big enough so they can be seen.