Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Building a string
Message
 
 
To
05/04/2010 13:44:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01458765
Message ID:
01458774
Views:
56
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform