Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Delete and insert lines from a file
Message
De
14/12/2009 10:48:33
Albert Beermann
Piepenbrock Service Gmbh & Cokg
Osnabrück, Allemagne
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Delete and insert lines from a file
Divers
Thread ID:
01438943
Message ID:
01438943
Vues:
111
Hello Everybody

Before i can work with some xsl-files from our customer (xmltocursor),
i have to delete a line and insert 2 lines.
(delete line 2, insert one line after line 4 and one line at end of file.

What is the best way to do this with foxpro ??

Until now i do some stupid workarounds with create cursor(xyz c(254)), append from file type sdf.
goto n
copy rest to file new type sdf
filetostr(newfile,newstring)

text to newfile textmerge
blah,blah
**newstring**
blah,blah
enttext

...
...

I hope there is a better way to do this.
Any help welcomed
Best regards
Albert
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform