Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shutting Down the Computer
Message
De
20/07/2001 17:58:19
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00532885
Message ID:
00533388
Vues:
10
>And don't define CR, use local variable instead... Learned recently this from George Tasker...

Thats a pretty definitive statement with barely anything to support it. Why use a variable? Can a variable be defined in one place and referenced many applications thousands of times? If its #DEFINEd in a Header file it can be, and guess what, the value of a CHR(13) is constant, there's really no reason to make it a variable. The only time it might cause a problem is when its used millions of times in a loop, the function call might add a wee bit of over head. Hardly the case in what Mike posted.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform