Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fseek() and fgets()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00124862
Message ID:
00124968
Vues:
20
Sandy,

You could use a memo for lines less that the stupidly small SET MEMOWIDTH limit
(I just looked in the help file VFP6 has raised it to 8K):

create cursor temp ( mText m )
append blank
append memo mText from TheASCIIFile
set textmerge to TheASCIIFILE
set textmerge on
for i = 1 to memlines( mText )
cLine = mline( i )
\\<>
endfor

But 2k lines are going to cause lots of grief. I'd just switch to fgets() from one file, fputs() to another file, then erase the original and rename the converted output file.

>Good idea unforunately some of these Oracle files are more than 2000 characters in length.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform