[REBOL] [no rugby - dbms - faq]
From: rebol665::ifrance::com at: 19-Jan-2002 12:34
<OT> I am not Jean-Luc Picard but I have seen a lot of violation of the
prime directive here especially towards Maarten.
<dbms> I have seen a looooot of things ! It seems that we are reinventing
mySQL which is not IMO what Gabriele wanted in the first place.
How to get object function?
Using 'get in object-name 'function-name
We want to assign a function with another function which is defined in an
Direct assignment is not allowed.
Example of direct assignment.
write "Hello World!"
; Hello World!
Example with an object function
obj: make object! [
print-i: does [print i]
** Script Error: fn needs a value
** Where: do-boot
** Near: fn: :obj/print-i
fn: get in obj 'print-i
ps: The prime directive in Star Trek is "do not interfere". Jean-Luc Picard
is the captain of the starship Enterprise in Star Trek TNG