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

Choice question

 [1/3] from: kpeters:otaksoft at: 12-Nov-2007 16:37

Is there a way to find the index (into choice/texts) of the currently displayed string from a choice other than looping through all entries and comparing them to it? TIA Kai

 [2/3] from: anton:wilddsl:au at: 13-Nov-2007 13:33

The answer lies here: print mold svv/vid-styles/choice/feel Notice the FIND. Regards, Anton. Kai Peters wrote:

 [3/3] from: kpeters::otaksoft::com at: 12-Nov-2007 18:42

On Tue, 13 Nov 2007 13:33:48 +1100, Anton Rolls wrote:
> print mold svv/vid-styles/choice/feel
Thanks Anton ~ a real head slapper - I knew enough Rebol to answer that myself but 15 years of procedural language thinking are not easily overcome! Kai