Reading a file like.. backwards?
#1

What'd like to make is a script that reads this:
Code:
seven
my name is
hi
from a file containing this:
Code:
hi
my name is
seven
is this possible?
Reply
#2

i never used this function before, but this could help you https://sampwiki.blast.hk/wiki/Fseek
Reply
#3

Thanks, that could help, because if I use fseek to put the pointer to the begginning of the file I can write the data backwards
rep 4 u
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)