Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Macro substitution slow
Message
 
 
À
23/06/2000 11:52:55
Bob Smith
Custom Data Services, Inc.
Mansfield, Massachusetts, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00383777
Message ID:
00384194
Vues:
38
Bob,

Are you saying there is a significant timing difference between these two versions of code in the exact same place in code:

Version 1:

select * from contacts where UPPER(NLAST)="SMITH" AND UPPER(NFIRST)="JOHN" into table c:\temp\foundit

Version 2:

pcFilterString='UPPER(NLAST)="SMITH" AND UPPER(NFIRST)="JOHN"'
select * from contacts where &pcFilterString into table c:\temp\foundit

It should be pretty insignificant for the compile time of this simple macro
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform