Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: layout question

From: volker:nitsch:gmai:l at: 25-Nov-2005 18:11

On 11/25/05, Cavva <cavallieri.carlo-gmail.com> 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 > ...
Right. You are close. :)
> but
vid-face" is different, i think only "layout" or "view" (console don't
> ) > 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 <lmecir-mbox.vol.cz>: > > > > 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 ; == 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