Rebol 3 has functions objectand context.
What is the purpose of the difference?
Note: for reference, red, both are the same, but objectdo not exist in rebol 2
Context: pun intended
At first, I was wondering why, contextinstead ofmake object!
Now, after studying the word objectused to create objects, I am curious to know why they are all different, and the rationale for different things to be the makesame.
Note that in rebol3:
object: make function! [[
"Defines a unique object."
blk [block!] "Object words and values (modified)"
][
make object! append blk none
]]
It is append noneto block. What for? Is that just a minor difference? Does this deserve a separate question?
In all 3:
context: make function! [[
"Defines a unique object."
blk [block!] "Object words and values (modified)"
][
make object! blk
]]
PS slight design differences between versions