Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I wish this was in VFP and not VB.....
Message
 
 
À
18/06/2001 20:28:30
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00519713
Message ID:
00520835
Vues:
49
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform