Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: read directory

From: rotenca:telvia:it at: 13-Dec-2003 14:39

Hi Ladislav,
> I don't like that. As far as I know, no operating system allows that. Am I
wrong? I do not know it and i did not know it. This should make your proposal more accettable, also if is left to the OS. Sometimes FTP is used as an interface for database which are not true file system.
> Rebol/Core 2.5.6.4.2 behaviour: > > read %rebol ; == "" > read %rebol/ ; == [%file1 %file2] > > This doesn't look well either. I think, that both %rebol and %rebol/ refer
to the same object: the %rebol directory. If that is > correct, then why should (read %rebol) yield different result, than (read %rebol/)? I think that rebol and rebol/ are different object. I only admit that a query on an object named "rebol" can return dir object info, if the rebol file does not exists. FTP query is implemented in this way by rebol: get info for the file "rebol" if fails, get info for the dir "rebol/" --- Ciao Romano