home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!wupost!waikato.ac.nz!comp.vuw.ac.nz!newshost.wcc.govt.nz!kosmos.wcc.govt.nz!WELLS_S
- Newsgroups: comp.sys.atari.st
- Subject: Reading file-date from GFA
- Message-ID: <1ehh0hINN6v6@golem.wcc.govt.nz>
- From: wells_s@kosmos.wcc.govt.nz
- Date: 20 Nov 1992 02:02:57 GMT
- Reply-To: wells_s@kosmos.wcc.govt.nz
- Organization: Wellington City Council (Public Access), Wgtn, Nz
- NNTP-Posting-Host: kosmos.wcc.govt.nz
- Lines: 11
-
- Okay, someone suggested for my little Time & date setter & saver program,
- that I store the time & date in the .PRG file's Time & Date-stamp. Doing
- this is easy, I just 'TOUCH' the file. Reading it back in however, it
- not as easy. How would I go about doing this??
-
- I could call list of the directory with 'FILES' searching for the
- TDSS_1_2.PRG file, then storing the list in a string, then getting the
- time & date from the string, and setting it - but is there a simpler
- method (or, more accurately, a SHORTER method, as that way would increase
- the filesize by almost 1k - and something as simple as this program should
- not be too big!!)
-