[REBOL] Re: request-dir

2002-09-03 Thread Anton
You mean: attempt [open ...] ? Well, it seems fine to me. If open fails then it hasn't opened a port, so you don't need to close one. If open fails it should know how to clean up after itself internally. Anton. > Note the use of "port" to determine whether removable media > (typically

[REBOL] Re: request-dir

2002-09-03 Thread atruter
> I'm guessing remove-each is a function from the beta REBOLs? Er, yes. Native too so I can't paste the source. ;) Regards, Ashley -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.

[REBOL] Re: request-dir

2002-09-03 Thread Carl Read
Hi Ashley, I get the following error with the function... ** Script Error: remove-each has no value ** Where: do-facets ** Near: insert remove-each file read path I'm guessing remove-each is a function from the beta REBOLs? Carl. On 03-Sep-02, [EMAIL PROTECTED] wrote: > Reply to self, > The

[REBOL] Re: request-dir

2002-09-02 Thread atruter
Reply to self, The following code (on windows) seems to do the trick: request-dir: function [path] [where lst] [ view center-face layout [ where: info 300 form path lst: text-list 300x200 data insert remove-each file read path [not dir? path/:file] %../ [