[REBOL] Re: VID question: global words
From: rotenca:telvia:it at: 4-Nov-2002 19:05
> Hi, ok. That's what I assumed. Ok, what to do if I want to mix words
> from different contexts in one layout:
> A: context [a: none]
> B: context [b: none]
> C: none
> Layout [
> a/a: field "a/a"
> b/b: field "b/b"
> c: field "C"
> IIRC a/a can't be used in layout.
Not so simple (because of the path limitation of layout).
Paths make binds for you, without path, you must bind manually:
layout compose [
(bind [a:] in a 'a) field "a/a"
(bind [b:] in b 'b) field "b/b"
This is another try:
layout bind bind [a: field "a/a" b: field "b/b"] in a 'a in b 'b
in the latter you must be sure that there are not the words with the same name