Just correct this way:
Myarray: reduce [
         "position1" myobj
         "position2" myobj2
         ]

and then

Myarray/2/myfunc

Luca

> Hello,
>       we have gone so far with the object but. how do I create an array of
> object ? It is written nowhere in the manual and it does not seem
possible.
> 
>       myobj-proto: [
>               a: 1
>               b: 2
>               myfunc: does [print "value of a" SELF/a]
>       ]
> 
>       Myobj: make object! Myobj-proto
>       Myobj2: make object! Myobj-proto [a:10 b:20]
> 
>       I want
> 
>       Myarray: [
>               "position1" myobj
>               "position2" myobj2
>               ]
> 
>       How do I execute position1 -> myobj/myfunc ?
> 
> 
> Giuseppe Chillemi
> 
> 
> -- 
> To unsubscribe from the list, just send an email to 
> lists at rebol.com with unsubscribe as the subject.
> 
> 


-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to