I think I originally tried your second way below, as well.

;didn't work
"...addrlist is a text-list with original data..."
...
addrlist/****: names-only  ; how update a text-list data = ???
show addrlist
...

Where **** = [data lines text texts etc etc etc]

Now,
;this works
...
addrlist/lines: copy names-only
show addrlist
....

Your question is a good one? Why can't you directly change text-list/data?



------Original Message------
From: "GS Jones" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: April 17, 2001 6:51:44 PM GMT
Subject: [REBOL] Re: How do I update a text-list?


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

--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.


______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup
-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to