Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: series/text-list position

From: rotenca::telvia::it at: 13-Nov-2003 17:51

Hi matt,
> I have a text-list in a layout whos order corresponds to the order of a > series. ie element 2 of the text-list corresponds to element 2 of the > series. I want to be able to remove an element from the text-list and have > the corresponding element in the series removed as well. What I can't > figure out is how to find out the position of the currently selected element > in the text-list. If I could find that then I could just issue something > like
view layout [text-list data ["a" "b" "c"] [print index? face/lines remove face/lines]] undocumented and unsecure feature, it can change in the future versions of Rebol. --- Ciao Romano