Hi Rebollers

<OT> I am not Jean-Luc Picard but I have seen a lot of violation of the
prime directive here especially towards Maarten.
</OT>

<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.
</dbms>

<faq>
How to get object function?

Short answer:
Using 'get in object-name 'function-name

Problen illustration:
We want to assign a function with another function which is defined in an
object.
Direct assignment is not allowed.

Example of direct assignment.

write: :print
write "Hello World!"
; Hello World!

Example with an object function

obj: make object! [
 i: 3
 print-i: does [print i]
]

fn: :obj/print-i
3
** Script Error: fn needs a value
** Where: do-boot
** Near: fn: :obj/print-i

Problem solution:

fn: get in obj 'print-i

fn
3

</faq>


Patrick

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

 
______________________________________________________________________________
ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
http://www.ifrance.com/_reloc/email.emailif


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

Reply via email to