View Single Post
Old 09-02-2013, 05:45 AM   #5
faltradl
Guru
faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.
 
Posts: 602
Karma: 1712372
Join Date: Feb 2013
Location: germany
Device: PocketBook Touch
Quote:
Originally Posted by Francois_C View Post
But I think changing the file you are supposed to view only is not a good programming practice. This should be written to an external file.
Yes an no. Writing the last read page to en external file works only on the same computer. If you copy/move it to another compter he dosn't know somthing of it.
Quote:
Changing the file date should only be used for a serious file modification.
How do you whand do that? That's a function of the operating system. Every modern OS safes the last time of reading al file. And of course, when a program writes something into al file the file date must be changed.

Some OS, for example Unix/Linux, change the file date if a file ist copied. Not changed, only using the cp-commad of the OS.
faltradl is offline   Reply With Quote