General information
Category:
Coding, syntax & commands
>This whole thing started because I said I thought #DEFINEs are more trouble than they are worth and people started giving good reasons for using them.
>I simply challenged those reasons. And at this point, for those still interested, I haven't heard counter-arguments that seem credible to me.
I think the strongest argument for #DEFINEs is where they replace otherwise mysterious values. The one I use most often is:
#DEFINE CRLF CHR(13) + CHR(10)
CRLF is easier both to type and to read. Similarly, constants are useful for "magic" numbers, like many automation parameters.
Tamar
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only