What are the advantages of Macros over External(Global) variables?
amrita111 4 Light Poster
Recommended Answers
Jump to PostAn external variable has a specific type. Therefore the compiler will do type-checking when compiling. You can also assign a value to a global variable at run-time.
As WaltP said, Macros are very different. When a Macro is referenced, the compiler simply copies the value and pastes it in …
All 4 Replies
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
jnawrocki commented: why bother -1
nmaillet 97 Posting Whiz in Training
cse.avinash -1 Junior Poster
amrita111 4 Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.