Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Append from text file into memo fields
Message
From
01/06/2004 21:42:44
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00908998
Message ID:
00909122
Views:
19
>Yes, I tried Alines and it works great unless you have an extremely large textfile. Mine was around a gig.

I had such a thing a few years ago, though it never grew over two megs. I resorted to using fRead() to get a single line, and used aLines() to split the line into fields. Then each field corresponded to an array member. I had to do some string munging to insert an empty string (a pair of quote marks) between two delimiters so two consecutive delimiters wouldn't cause aLines() to skip a field. This way was extremely fast - about 60 times faster than whatever was originally used for the task.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform