Thread: text files
View Single Post
  #1  
Old 10-26-2006, 08:14 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
text files

I wondered on something, how do I load an text file
with like for exmaple: obj.loadvars("path"); and
edit one member of the file?

obj = {"foo", "bar"};
obj.savelines("path", 0);

saves like all the members of the array into the file,
but how to edit one single member?
__________________
Reply With Quote