Information générale
Catégorie:
Fonctions Windows API
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement