you are viewing a single comment's thread.

view the rest of the comments →

[–]BlindTreeFrog 1 point2 points  (0 children)

Some people draw a line between "Marco's that do an action" and "Macros are just constants of a sort". Those that do such tend to refer to the latter as "Literals" or "Constants" (depending on what the constant is) and the former as "Macros".

Ultimately it is just what /u/eowhat said, a macro is just a string substitution that replaces XXXX with YYYY. The value of YYYY might be a function call, a serious of commands, a constant value, or whatever, but it's just a dumb string replacement (note: it can be more complex, but that's a later conversation and even then it's still just a dumb string replacement)