[REBOL] Re: Which? [Object! Block!]
From: al:bri:xtra at: 28-Sep-2001 5:59
> compose [(to-set-word first l) (to-word "make lyt[") (nw-lyt)
You need a set-word for the outer object.
to-set-word first l compose ; etcetera.
> (if [length? l > 3] [
> vls: fourth l
This is slightly better:
(vls: none if 3 < length? l [vls: fourth l])
> then the other reason is that the layouts get DOne when they are viewed.
I need them to not be in the global namespace. Block! maybe better, I am
just not sure.
perhaps better would be to surround each layout with it's own context? Like:
o: make object! [
l: layout [f: field "default"]
that way the 'f in the layout dialect refers to the f in o?
By the way, your code seems very confused. perhaps you could rewrite it with
better name choices and start with something really simple?
ICQ: 26227169 http://zen.scripterz.org