Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fcreate/Fopen/Fputs
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00665479
Message ID:
00665488
Views:
24
>Please verify this.
>
>I create a file with Fcreate in Read/Write mode.
>Then the file is closed.
>
>It is opened a couple of times later in my program using
>Fopen in Read/Write mode.
>Now each time my program issues a FPUTs statement, the
>text in the file will be overwritten. Hence I need to use a
>FGETS to go until the EOF and then issue my FPUTS
>command.(consecutive fputs are trying to append text
>to the file)
>
You can use FSEEK() to position pointer at the end of the file. You can also use Strtofile() function instead of LLFF.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform