On 11/25/05, Cavva <[EMAIL PROTECTED]> wrote:
>
> Ok, but with " set 'f " you "expose" f in the global context, tell me
> if i'm wrong,
> so now i can type "f" at the cosole because "f" is now a "global function=
" =3D
> ...

Right. You are close. :)

>
> but "vid-face" is different, i think only "layout" or "view" (console don=
't=3D
> )
> can see it but i don't understand why,

Look at the "a" in ladislavs example!

>
> nor with "source view" or "source layout" i can see something refer to
> "system/view/vid/vid-face" ...
> so i'm still looking in the "wrong place" but were's the right one ?
>
>
> 2005/11/25, Ladislav Mecir <[EMAIL PROTECTED]>:
> >
> > Cavva napsal(a):
> >
> > >"new new" understood, thanks
> > >
> > >So, "vid-face" is a local variable defined in "system/view/vid" right?
> > >
> > >but i still don't understand why i can symply refer to "vid-face"
> > >without saying that is under "system/view/vid"
> > >
> > >if in the console i type "vid-face" i get an error ..
> > >
> > >--Carlo
> > >
> > >
> > Check this:
> >
> >     my-object: make object! [
> >         a: 112233
> >         set 'f func [] [a]
> >    ]
> >
> > now if you do:
> >
> >   f ; =3D3D=3D3D 112233
> >
> > , but A is local to my-object
> >
> > --
> > 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.
>
>


--
-Volker

"Any problem in computer science can be solved with another layer of
indirection. But that usually will create another problem." David
Wheeler
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to