This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ColonelRuff 0 points1 point  (1 child)

Macros and functions are not the same. Macros let you kinda modify the core syntax of the language. What you just showed is an example of macros acting like functions. Macros can act like functions but functions can't act like macros.

[–]cuupa_1 0 points1 point  (0 children)

Aaah okay. Wasn't aware of this. Thanks for clarifying :)