Yeah, another "VS" topic. :P
Talking about general small number values, like bit flags for example. I noticed for example in stddef.dm, #defines and global const vars are somewhat mixed up for no apparent reason, for small non-object values. >_>
So, liek, I've been wondering, what are the benefits of each, and when should you use which?
Of course, for object-references or big values, const vars are best used. But otherwise shouldn't ya always go for #defines?
Dec 19 2006, 7:06 pm