I'm not sure whether I understand, but that way writing events
and that reading themCode:f = openFile(filename + ".txt", "write"); fprintln(f,self.name); fprintln(f,self.score); fprintln(f,self.etc); closefile(f);
Code:f = openFile(filename + ".txt", "read"); freadln(f); self.name = int(fgetarg(f,0)); self.score = int(fgetarg(f,1)); self.etc = int(fgetarg(f,2)); closefile(f);



Reply With Quote