change a block name...is possible?

Discussion in 'Rebol' started by vector, Aug 7, 2011.

  1. vector

    vector New Member

    Hi, i have a question, It''s posible to change the name of a block. For example from block1[] to another name like blockone [] programatically?
  2. MaxV

    MaxV Member

    You may use copy and unset:
    Code:
    blockone: copy block1
    unset 'block1
    
  3. henrikmk

    henrikmk New Member

    It should not even be necessary to copy the block:

    blockone: block1
    unset 'block1

Share This Page