Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Contexts of contrived blocks

From: john::schuhr::com at: 9-May-2001 13:26

Anyone know how to explain the following? Whenever I create a block using 'to-block on a string, the words in the block have their own context.. what gives?
>> block1: [element element element]
== [element element element]
>> block2: to-block "element element element"
== [element element element]
>> block3: [element element element]
== [element element element]
>> same? block1/1 block2/1
== false
>> same? block1/1 block3/1
== true
>> element: 5
== 5
>> bind block2 'element
== [element element element]
>> same? block1/1 block2/1
== true
>>
--John Schuhr