FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Perform maths based on a number in a text file
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Perform maths based on a number in a text file [message #183802 is a reply to message #183768] Wed, 20 November 2013 11:58 Go to previous messageGo to previous message
drkirkby is currently offline  drkirkby
Messages: 4
Registered: November 2013
Karma:
Junior Member
On Monday, 18 November 2013 16:38:29 UTC, Jerry Stuckle wrote:

> Sure. Look up the file functions - fopen, fread, fwrite, etc. But you
>
> do have to watch out that another script is not accessing the file while
>
> you are writing it. Additionally, when you do write the file, you will
>
> need to write all values unless you're changing the last one.

I can edit the file with the constant in it using just a text editor (vi). No script or any other automated software will do it.

Since I know C, fopen, fread, fwrite probably have very similar meanings, and I could probably work that out.

Dave
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: array search part 2
Next Topic: What do you think about this book on API ?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 01:40:26 GMT 2024

Total time taken to generate the page: 0.10633 seconds