Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Possible VFP7/8 ER: Integrate Crystal Reports
Message
De
17/04/2001 16:56:37
 
 
À
17/04/2001 16:52:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00495582
Message ID:
00496419
Vues:
13
>>>#DEFINE MACHINE_NAME SYS(0)
>>>#DEFINE CURRENT_DEFAULT_DRIVE SYS(5)
>>>
>>>Uhh, George, think about these for a minute...
>>
>>What?? Didn't we have a discussion sometime back that defined function calls like these are actually evaluated at run-time not compile time?
>
>If that's true, then I apologize, but it certainly goes against everything I thought I knew about compile time constants.
>
>I just tested it, and by golly, you're right. So what's the trick? Is _any_ function call in a constant evaled at runtime?
>
>(wanders off scratching head)...

Seems to be true. Even called a UDF() just fine at runtime.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform