[REBOL] Re: blocks in and out function !
From: al:bri:xtra at: 9-Jan-2002 9:25
Just to clear things up a little:
>> a: b: []
== []
'a and 'b point to the same block.
>> a: []
== []
>> b: []
== []
'a and 'b point to different blocks, because the first "[]" is different
from the second "[]" (they're on different lines.
In this function:
f: does [
[]
]
'f always returns the same block.
In this function:
g: does [
make block! []
]
'g returns a new block every time that is based on the contents of the
[]
block.
Andrew Martin
ICQ: 26227169 http://valley.150m.com/