Hi Giuseppe

I guess alias is near to what you want

 >> help alias
USAGE:
    ALIAS word name

DESCRIPTION:
     Creates an alternate spelling for a word.
     ALIAS is a native value.

ARGUMENTS:
     word -- Word to alias (Type: word)
     name -- Name of alias (Type: string)


e.g

 >> now
== 30-Mar-2007/8:33:05+2:00
 >> alias 'now "jetzt"
== jetzt
 >> jetzt
== 30-Mar-2007/8:33:22+2:00
 >> now: 1
== 1
 >> jetzt
== 1

AR


Giuseppe Chillemi wrote:
> Here follows my message to Carl....
>
> Ciao Carl,
>    I have talked with people in the mailing list which helped me a lot =
> to
> clear what I want to request for Rebol 3.0.
>
>    It would be really useful to use a word as relative pointer for =
> another
> word.
>
>    Something like:
>
>    f1: ::a
>
>    it would mean: "f1" content is the content pointed by the word "a"
>
>    Changing "a" would change automatically the content of f1
>
>    Having:
>
>    f1: f2: f3: f4: f5: ::a
>
>    Changing "a" would change the content from "f1" to "f5"
>
>    This would be really useful in objects: think about having 10.000 =
> objects
> with "f1" inside and "f1" is using "a" as relative pointer to a function =
> or
> a value. You could change the content of 10.000 objects with a simple =
> line
> of code without having to use the "set in" notation for each object.
>
>    Thank you in advance for your answer.=A0
>
> Giuseppe Chillemi
>
>
>
>   

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

Reply via email to