Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shutting Down the Computer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00532885
Message ID:
00533237
Vues:
19
>> A while back, some of us did some tests, and they revealed that any #DEFINE (I keep wanting to refer to it as a symbolic constant< g >) involving a function is evaluated at run-time. The theory (at least mine) is that the compiler inserts the function reference wherever the symbol appears.
>
>Now that you mention it, I think you're right. You can #DEFINE a function such as HOME(), and it will work, meaning that it has to be evaluated at run-time.

It's really not a particularly big hit in doing so (I think you'd probably have to get up into the millions of references for it to start to be noticed). Still, if your work involves such things (Bruce Campbell's name comes to mind here) every little bit does matter.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform