[REBOL] Re: filename
From: tim:johnsons-web at: 19-Aug-2001 16:57
On Sun, Aug 19, 2001 at 06:27:09PM -0500, john wrote:
> Simple -I'm sure?
>
> I am using this script to name a file with a modified epoch (shortened )
> number, simply to make it unique.
>
> I would like that name to have a " .html " extension -can anyone help?
Hi john
> Code:
>
> number: fn-epoch now
> name: number - 998100000
> ;filename: to-file name name2
filename: to-file join name ".html"
or
file-name: to-file rejoin[name ".html"]
> print filename
>
> End Code:
Is this what you're looking for?
hint: at rebol prompt
help join
help rejoin
> --
> To unsubscribe from this list, please send an email to
> [rebol-request--rebol--com] with "unsubscribe" in the
> subject, without the quotes.
--
Tim Johnson <[tim--johnsons-web--com]>
http://www.johnsons-web.com