Hi Anton,

Hmmm.  So why doesn't:

    to-set-word b 1

work then?  What is the difference when you assign "to-set-word b" to another
word (c) and then use c?  Why does your method work whereas mine doesn't?

> > Passing by reference
>
> > a: 0              ; >> 0
> > b: 'a             ; >> a
> > to-set-word b     ; >> a:
> > to-set-word b 1   ; >> 1
> > a                 ; >> 0
> >
> > so what is the point of to-set-word if I can then not use it to set the
> > thing? Do I need an extra block and a "do" or something like that?
>
> c: to-set-word b
> c 1
> a                 ; >> 1
>
> Regards
> --
>
> Anton
>

Reply via email to