[REBOL] Re: Is Rebol OO?
From: ingo:2b1 at: 13-Jan-2004 11:00
Hi Jason,
just a quickie ...
Jason Cunliffe wrote:
> Hi Gerard
<...>
>>For example I find it so annoying to me to completely rewrite my complete
> paths (switching the / for the \ plus adding the " at both
>>ends and stripping the : after the Drive name) each time I have to type
> some copied file name and path from my Windows Explorer to
>>the console prompt - I mnow ther must exist some script to help somewhere
> but this could be useful to have defined a dialect for
>
>>managing files any time it would be needed to
>>express for example the listing of the files contained in
>
> "E:/DOCUMENTS/Gerard/credit card Orders/Alibris/"
>
> Well yeah it is annoying. Rebol and Python both have their own consistent
> intenal syntax. But it strikes me they shoul dbe smart enough to just check
> for the path syntax of the platform being used and then accept and convert
> to the internal. . I imagine such functions have been written many times
> over already by people.
>> help "-file"
to-local-file Converts a REBOL file path to the local system fil...
to-rebol-file Converts a local system file path to a REBOL file ...
Of course, having it automatically detect the right file notation would be
nice.
Kind regards,
Ingo