What are the pros/cons of using macros for string literals versus using string equates?
I understand that string equates are calculated/concatenated at compile time. Is the same true for macros of string literals?
For example, what is the difference between:
and
I understand that string equates are calculated/concatenated at compile time. Is the same true for macros of string literals?
For example, what is the difference between:
Code:
$appname = "My App" $errmsg = " - Error" MSGBOX ERROR$( ERR),,$appname + $errmsg
Code:
MACRO mappname = "My App" MACRO merrmsg = " - Error" MSGBOX ERROR$( ERR),,mappname + merrmsg
Comment