Hi,
Hi Ladislav, could you please tell us what _your_ 'f is? because ...
>> rebol/version
== 2.2.0.4.2
>> block1: [do func[f [any-function!]] [print "OK"] func [x] [print "OK"]]
== [do func [f [any-function!]] [print "OK"] func [x] [print "OK"]]
>> do block1
OK
>> block2: [do func [f [any-function!]] [print "OK"]]
== [do func [f [any-function!]] [print "OK"]]
>> append block2 :f
** Script Error: f has no value.
** Where: append block2 :f
>> f: [func [x] [print "OK"]]
[L]
sorry, here it is:
f: func [x] [print "OK"]
[/L]
== [func [x] [print "OK"]]
>> append block2 :f
== [do func [f [any-function!]] [print "OK"] func [x] [print "OK"]]
>> do block2
OK
I don't know _why_ it works, though after we have heard multiple times,
that it can't ;-)
[L]
It surely MUST work, but it unfortunately doesn't sometimes...
[/L]
regards,
Ingo
[L]
all the best
Ladislav