----- Original Message ----- From: "Cavva" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 25, 2005 4:42 PM Subject: [REBOL] Re: layout question
> > 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" = > ... > right > but "vid-face" is different, i think only "layout" or "view" (console don't= > ) > can see it but i don't understand why, > > 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 ? > > You can't see it from "source view" or "source layout" because the SYSTEM object(and all its content) is already loaded(and properly bind) in Rebol interpreter during the 'startup sequence'(before you are able to use and access it). You can see this only if you have Rebol SDK sources. There is something like: system/view/vid: context [ ..... ..... ..... vid-face: make face [ .... ] set 'layout func [...][ ... ] ... ... ] ;end of system/view/vid So from this you can see that the LAYOUT function is defined as global when it is 'loaded' in the SYSTEM/VIEW/VID context. regards, Cyphre -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.
