[REBOL] Re: Curious results
From: brett:codeconscious at: 30-Jul-2001 14:35
> 1. Why does 'view lay' show 'Problem!' inside each
I don't see that.
> 2. What happens to red and green for b and c?
> ;example 2
> REBOL [Title: "Problem!"]
> lay: layout [ across b: box red c: box green]
> view lay
> view b
> view c
They are there - you just cannot see them because they are not visible to
lay: layout [ across b: box red c: box green]
print ["b/offset:" b/offset "c/offset" c/offset]
Now I just cheated, because if you set the offset of b like I did for c
you'll still not see the red box.
I believe that VIEW establishes a relationship between lay, b, and c through
the field "parent-face" of b and c when you execute the line "view lay". I
really don't know how it works but I do think it is intimately involved with
why you don't see
the red box when you "view b" at a later time.