I am not happy watching my ability to write what I mean in this case.

Here is a different approach:

f: func [] [print "Executed"]
code: [(:f)]
do code
change code :f
do code

Results from the Rebol console:

>> f: func [] [print "Executed"]
>> code: [(:f)]
== [(:f)]
>> do code
>> change code :f
== []
>> do code
Executed

Now, my description what has happened:

I created a Rebol code. (see Code) Then I decided to replace the
parenthesized expression by it's result, and, voila:

"There are some cases in Rebol where you can't replace the parenthesized
expression by it's result and get the same"

Ladislav

Reply via email to