>Don't. At least do not #define TAB, because TAB is a keyword (as in "Append from ... delimited with TAB"). Now that I told you it'll be easy, but it took me quite a time to understand why this command didn't want to compile... because the keyword was re#defined.
Ok, I just went to my work computer through PCAnywhere and made corrections in all of my applications. I used TABC, not TAB, BTW
Thanks again.
>
>Other than that, this method seems to be better and more efficient (specially in tight loops), but one thing to beware is if you do such a #define in a header file, and the constants start getting used all over the place - are you sure the variables will also be defined everywhere?
>
>The morale of the story would be that no matter what cool tools we get, we still have to do most of the thinking ourselves. These machines are simply not smart enough... that's why our job is to teach them :)
If it's not broken, fix it until it is.
My Blog