Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Building a string
Message
 
 
À
05/04/2010 13:44:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01458765
Message ID:
01458774
Vues:
57
>I need to add extra formatting text between fields and dependent on field contents. So simple COPY will not work. Do you think using SET TEXTMERGE TO VARIABLE will be faster?
>
>Thanks,
>
Yes, all functions directly writing to a file will be faster than concatenating strings. Same problem as in .NET (and that's why using string builder is recommended approach).

Alternatively you can do this with API string and memory functions - I do recall an interesting discussion on this topic on Russian web-site - may try to find later on.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform