Subj : FGET_TIME
To   : Ace
From : Digital Man
Date : Sat Feb 16 2002 06:09 pm

 Re: FGET_TIME
 By: Ace to DIGITAL MAN on Sat Feb 16 2002 12:49 pm

>   > > 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
>   > > 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?
>
> DM>str fname
>   >int ftime
>   >str newsdate
>   >set fname "e:/sbbs/xtrn/news.txt"
>   >get_file_time ftime fname
>   >time_str newsdate ftime
>
>
> DM>That should work. What did you try?
>
> Holy crap!  What genius decided to use /'s instead of normal \'s ??

Either one will work, but forward-slashes are Unix-compatible and back-slashes
are not.

> No wonder I've had such a hard time...!

Back-slashes were not your problem.

> Why is this and how long has it been a secret?

It hasn't been a secret. I've posted about forward slashes in Baja pathnames
many times.

> (prg works great now btw, thanks! :)

Great!

> (PS. I was also using SETSTR instead of SET)

Doesn't matter, either will work (to set the "str" variable, that is).

-Rob

---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net