Hi Sascha,

this could be what you need:

account: make object! [
    name: none
]
a_1: make account []
a_2: make account []
a_2/name: "sascha"
a_1/name: "mascha"
foreach obj reduce [a_1 a_2] [
    probe obj/name
]

Regards
    Ladislav (Rebol Rebol)

> Hi,
> since i read it' would be all easy in rebol, 
> i tried obscure:
>  >> account: make object! [
> [    name: none]
>  >> a_1: :account
>  >> a_2: :account
>  >> a_2/name: "sascha"
> == "sascha"
>  >> a_1/name: "mascha"
> == "mascha"
>  >> foreach obj [acc_1 acc_2][
> [    probe obj/name]
> ** Script Error: Cannot use path on word! value.
> ** Where: probe obj/name
>  >>
> I did't found how it can be converted in a right way.
> Thanks,
> Sascha
> 
> -- 
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the 
> subject, without the quotes.
> 
> 
> 

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

Reply via email to