Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File manipulation
Message
From
06/10/1999 12:25:02
 
 
To
06/10/1999 11:41:06
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00273206
Message ID:
00273236
Views:
22
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform