[REBOL] Re: My first contribution in a lonnnng while
From: jeff:rebol at: 2-Mar-2001 7:35
Howdy, Anton:
> Someone said to watch out when using 'load because it puts
> words in the global context.
>
> I think you can just use 'read where you are using 'load in
> your script below, reading a directory:
>
> ain: read treein
LOAD and READ of a directory work the same way-- Also, LOAD
on a directory does not create any words. Both READ and
LOAD of a directory create a file port and do a COPY which
results in a block. For example:
here: open %.
files: copy here
== [%do.r %p-np.r %goofers.r]
close here
-jeff