Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Whether to Use an Array or a Cursor ?
Message
From
15/08/2013 09:15:05
 
 
To
14/08/2013 15:33:16
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01580497
Message ID:
01580536
Views:
74
>I am trying to some Extract Data from a Text file and preform some Manipulation on it.
>
>For Extraction of Data I have two options, 1st create a cursor using Append from abc.txt SDF and Use The Locate Command to find my Data inside and extract it.
>
>2nd Use an Array. Initially I opted the second option. Now, to extract the Data from The array I am Scaning the entire Array from top Until the record is Matched, but since the volume of Data to be extracted from ech file and the number of files are also too Large, its taking huge time for entire processing.

Just want to point out that the fast way to search in an array is with ASCAN().

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform