Raised This Month: $ Target: $400
 0% 

Solved [ H3LP ] Ini Save


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DarthMan
Veteran Member
Join Date: Aug 2011
Old 06-25-2017 , 07:42   [ H3LP ] Ini Save
Reply With Quote #1

Hello. So I want to save using a+ some information to an ini file. How can I save everytime a line up, meaning that the previous information will go a line down? I tried using ^r but it doesn't work, know ^n is to make a new empty line, but what I want is to basically make a new empty line before this line and on that empty line store the information. Thanks !

Last edited by DarthMan; 06-25-2017 at 12:17. Reason: Solved
DarthMan is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 06-25-2017 , 08:10   Re: [ H3LP ] Ini Save
Reply With Quote #2

You have to create a new file or completely rewrite it. Files are stream and can only append while writing.
klippy is offline
DarthMan
Veteran Member
Join Date: Aug 2011
Old 06-25-2017 , 08:33   Re: [ H3LP ] Ini Save
Reply With Quote #3

Quote:
Originally Posted by KliPPy View Post
You have to create a new file or completely rewrite it. Files are stream and can only append while writing.
Ah, so there is no other way
Guess the easiest way is to use ^n before writing so it will create an empty line.
DarthMan 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 22:51.


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