[REBOL] text-list
From: gschwarz::netconnect::com::au at: 26-Sep-2002 14:50
I am having a problem in finding the position in the list, I want to know
if it is the first, second... last, not the text of the picked line in the
list.
The below is just a quick test to help me find the answer, not the real use.
The real use is reading a number of lines in a file and only the name of the
line is shown in the list (eg. part type) so as to delete and add complete
lines in the file.
REBOL []
group1: layout [
account: text-list data sort load %.
button "Account" [print account/picked ]
button "Quit" 240.10.10 [quit]
]
view group1
Regards,
Greg Schwarz.