Hi,

        Use the SOURCE luke!  

>> source context
context: func [
    "Defines a unique (underived) object."
    blk [block!] "Object variables and values."
][
    make object! blk
]


HTH
Ammon


A short time ago, Jason Cunliffe, sent an email stating:
> Hi
>
> I looked at Ladislav's amazing article
> http://www.sweb.cz/LMecir/contexts.html
> but it's still a bit beyond me ..
>
> Please can anyone provide an introductory explanation of the difference
> between "make object!" and "context"? ..hopefully then I can get back to
> studying Ladislav's essay.
>
> These both appear to do the same thing:
>
> o: make object! [
>     name: "jason"
>     email: [EMAIL PROTECTED]
>     sendme: func [message] [send email message]
> ]
>
> o: context [
>     name: "jason"
>     email: [EMAIL PROTECTED]
>     sendme: func [message] [send email message]
> ]
>
> >> o/name
>
> == "jason"
>
> >> o/email
>
> == [EMAIL PROTECTED]
>
> >> o/sendme "hello"
>
> Q1: Are they different, and if so How?
> Q2: Why/when/what determines which form to use..?
>
> thanks
> ./Jason
-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to