[REBOL] Re: How do I update a text-list?
From: gjones05:mail:orion at: 17-Apr-2001 13:51
From: "alan parman"
> Thanks a bunch, it does indeed work. I could swear that I tried "/lines"
> and it didn't work. Was this something that changed in View1.0 from the
> experimental versions?
To my knowledge, no. I find it very easy to make mistakes when using the
dialects, like VID.
What I still don't understand is why /data works with append, as in the
following:
view layout [
tl: text-list data ["a" "b" "c"]
button "Change List" [
append tl/data ["new" "values" "for" "you"]
show tl
]
]
but can't be assigned directly, as in the following:
;doesn't work
view layout [
tl: text-list data ["a" "b" "c"]
button "Change List" [
tl/data: copy ["new" "values" "for" "you"]
show tl
]
]
Oh, well.
--Scott Jones