Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Appending More than 254 Character in a record From Text
Message
De
21/08/2013 05:01:58
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
19/08/2013 18:31:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01580757
Message ID:
01580872
Vues:
141
>I'd only suggested using table and memo fields because he'd stated he was having trouble with processing the data otherwise. If it was me, I'd likely approach it with low-level file routines and essentially process the file on a line-by-line basis. My initial impulse would to implement the program as an AWK script.

Perhaps nowadays the machines are fast enough to make no difference, but once upon a time I gained most speed using a combination of what Craig said (fread() using decent sized chunks - 16K then, perhaps 64K now), then processing each chunk row by row until there was less than one row left. Then append the next chunk to that partial road, process that, while not feof() (first I wrote until feof(), but we don't have until in fox).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform