Jump to content

Help with fileRead.


Recommended Posts

Posted

You basically can't, that isn't how files work, at least not without rewriting the entire file.

Theoretically it's easy to truncate a file, though it doesn't appear that MTA provides access to the relevant functions to do so.

Posted

When you do Fwrite, it overwrites the hole line, so if you had in the first line:

123456789 

And then you write 'hello', it will look like this:

hello 

And not like this:

hello6789 

^-- (This is what happends to me on MTA)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...