Raised This Month: $ Target: $400
 0% 

How to update a line in a file & file help.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 08-08-2018 , 08:36   Re: How to update a line in a file & file help.
Reply With Quote #1

You can't update a line, you have to copy over all the text to a new temporary file with your line changed, delete the original file and rename the new file.
__________________
klippy is offline
LemoNSK
Member
Join Date: Jul 2018
Location: Criminal Underworld
Old 08-08-2018 , 08:42   Re: How to update a line in a file & file help.
Reply With Quote #2

Quote:
Originally Posted by KliPPy View Post
You can't update a line, you have to copy over all the text to a new temporary file with your line changed, delete the original file and rename the new file.
wait what? Can you tell me I can't ? Could u show me example?
LemoNSK is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode