How would I go about loading a *.txt file, reading each of it's lines and saving the lines read with the other data that is saved?
I think I am supposed to use Marshal.dump(data, filename) for the saving bit?
But for the loading bit, I am not sure what methods to call. I think I saw a File.open() method in an other post, but I can't remember.
Any help would be appreciated.
Peace!
I think I am supposed to use Marshal.dump(data, filename) for the saving bit?
But for the loading bit, I am not sure what methods to call. I think I saw a File.open() method in an other post, but I can't remember.
Any help would be appreciated.
Peace!