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

[REBOL] Re: read directory

From: lmecir:mbox:vol:cz at: 12-Dec-2003 17:12

Hi Romano,
>Do you like this? > >make-dir %rebol/ >write %rebol "test" >read %rebol ;=="aaa" >delete %rebol ;delete the file >read %rebol ;==[] >delete %rebol ;delete the dir > >Too ambiguities for me about what is deleted and what is read. > >--- >Ciao >Romano >
I don't like that. As far as I know, no operating system allows that. Am I wrong? 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/)? -L