Jeff and Brian, you guys are terrific help, and I really
appreciate it. Hopefully some of the other people
on the list have the same questions as me and are
benefitting from your wisdom, too.
Brian, one little interesting point, as you may have
seen from Ladislav's generous note:
---------------------------
> Did this used to work in an older rebol without compose?
>
Here you are:
REBOL
1.0.3.3 (Win32 x86)
TM & Copyright 1998 REBOL Technologies Inc. All rights reserved.
Send bugs to [EMAIL PROTECTED]
Loading internal rebol.r
REBOL top level.
>> make-adder: func [x] [func [y] [x + y]]
#[function [x] [func [y] [x + y]]]
>> add5: make-adder 5
#[function [y] [x + y]]
>> add6: make-adder 6
#[function [y] [x + y]]
>> add6 1
7
>> add5 1
6
So, it did used to work in an older Rebol.
----------
One reason I was thinking the context was bound
to the block had to do with a vague memory of a something
posted a long time ago.
So, is it safe to say that a context is associated
only with a word? Or is a word assoc. with a context?
Or only words that are functions are associated with
a context?? Does each function have one context?
What about dynamically generated functions not referred
to directly by assigning to some 'word ? Do these
automatically have a context, too? Is rebol's use
of context similar enough to another language out
there that I could get some good guidance by referring
to that language's documentation/literature ?
-------------
Thanks! to everyone on the list who has been helping me
out here with getting a better understanding of Rebol.
I am going to print out those notes to study them better.
-galt