Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text search challenge...
Message
From
16/02/2003 21:49:56
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
16/02/2003 21:36:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00753959
Message ID:
00753969
Views:
23
>I think fgets() is what I was using. I think the trick might be what is the best way to look for the keyword in the line that you read in. Is it atc() or the something like cText1$cText2.
>
>I guess I need a very low level text compare method.

Before trying to optimize this, I would do some speed tests to see where the bottlenecks are. Perhaps the profiler can help you to tell whether the speed problem is in opening and closing the files, or rather in the comparison.

OTOH, I think that in native VFP there is no faster alternative to the "$" operator.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform