Hi Pat,

<< Problem resolution
Get must be used twice: (1) in the fn2 definition. (2) in the fn2 call.

fn2: func [ f [function!]
 ][
 print "My task is to affect obj/obj-func with fn1"
 obj/obj-func: get 'f
]

fn2 get 'fn1 >>

You could also use the get-word syntax to avoid evaluation of the function
during assignment:

fn2: func [ f [function!]
 ][
 print "My task is to affect obj/obj-func with fn1"
 obj/obj-func: :f
]

fn2 :fn1

--Gregg

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to