Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I wish this was in VFP and not VB.....
Message
 
 
To
18/06/2001 20:28:30
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00519713
Message ID:
00520835
Views:
48
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform