support
Whole Tomato Software
5566 Posts |
Posted - Dec 22 2005 : 10:29:22 PM
|
You won't get what you want. VA X doesn't evaluate as you reference symbols, only when you define them. Since you aren't using g_Time in a definition, VA X won't look at what VA X is when you reference it.
You get a tooltip explaining what g_Time is when you use it. VA X isn't checking that you use it correctly. (We omit the lengthy debate over the merit of #define, and why C# doesn't have it, but your example is a plug for proponents of C#.)
Also... We recommend you disable "evaluate all macros..." and rebuild your symbol database. The option is useful only in rare cases (and your not using g_Time in a definition anyhow.) |
|
|