Subj : FGET_TIME
To : Ace
From : Digital Man
Date : Fri Feb 15 2002 03:31 pm
Re: FGET_TIME
By: Ace to DIGITAL MAN on Fri Feb 15 2002 08:54 pm
> > > str newsdate
> > > int newsfile time
> > >
> > >
> > > FOPEN newsfile O_RDONLY "e:\sbbs\xtrn\news.txt"
> > > FGET_TIME newsfile time
> > > TIME_STR newsdate time
> > > FCLOSE newsfile
>
> DM>FGET_TIME is not implemented in Synchronet v3 (I don't remember the reaso
> >Use the GET_FILE_TIME function instead, which is much simplier and doesn'
> >require opening and closing the file.
>
> I can't get this...! (DAMN!) The above makes sense to me but
> GET_FILE_TIME <int_var> <str_var> doesn't, and seems opposite of what I
> need. How do I get "e:\sbbs\xtrn\news.txt" into <str_var> to use in
> this function, and then that date/time into my newsdate string?
str fname
int ftime
str newsdate
set fname "e:/sbbs/xtrn/news.txt"
get_file_time ftime fname
time_str newsdate ftime
That should work. What did you try?
-Rob
---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net