Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Working with Text Files
Message
De
07/09/2001 12:58:55
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
07/09/2001 12:09:01
Raven Ferrer
Software Solutions
Manila, Philippines
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00553872
Message ID:
00553926
Vues:
14
>goodday,
>
>can somebody help me on how to append a text file to another text file in VFP. TIA
lparameters tcText1, tcText2
#define MAXCHARS 65535
h1 = fopen(tcText1,12) && tcText2 appended to tcText1
h2 = fopen(tcText2)
=fseek(h1,0,2)
*=fputs(h1,'') && insert CRLF at end
do while !feof(h2)
 =fwrite(h1,fread(h2,MAXCHARS),MAXCHARS)
enddo
=fclose(h1) and fclose(h2)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform