Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parsing fields
Message
From
04/08/1999 08:25:02
 
 
To
04/08/1999 08:00:26
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00249648
Message ID:
00249660
Views:
16
>
>MY Question: Which method gives us the least performance hit? In other languages, parsing a string is a fairly slow process. Are expressions in a view optimized?
>
>I know, we should make the necessary changes, BUT we need to release the Windows system in pieces and have it co-exist with the DOS Clipper 5.0 system. We estimate that replacement of all DOS programs might take 2 - 3 years, and we can't wait that long. Maybe, in version 2.
>
>TIA
>Mike

I'm not sure which method is the most efficient, but VFP is EXTREMELY fast at string manipulation. In fact, VFP 6.0 is up to 200x faster than 5.0. I have a text file that I process every day. Because it can have fields up to 2000 characters in length, I read it using FILE2STR(), then parse it. It takes just a few moments to pull all the data apart and save it to the DBF.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform