Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File manipulation
Message
De
06/10/1999 12:25:02
 
 
À
06/10/1999 11:41:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00273206
Message ID:
00273236
Vues:
21
>Michelle,
>
>VFP has a whole collection of low-level file functions to accomplish what you would like to do. Here are some of the commands you'll need
>
>handle=FOPEN()
>opens a file up (the mode depends on the parameters you give it.
>
>FGET()
>reads in a line (depending again on parameters as to the length of the line)
>
>FPUT()
>writes a line
>
>FCLOSE()
>closes the file
>
>FEOF()
>determines weather end of file has been reached.
>
>and you would then use string manipulation to process what you have read from the file before you write back out.
>
>
>HTH
Also be aware of FREAD() and FWRITE() when there are no lines (CR/LF) in the file to be read from or written to and FSEEK() when you need to know where the byte pointer in the file is or to place it at a particular location.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform