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

[REBOL] Re: parse rule for converting hex to decimal

From: gregg:pointillistic at: 23-Feb-2010 8:43

Hi Graham, GC> foreach item exclude parse/all text "$," [ "" ] [ GC> append result to-integer debase/base item 16 GC> ] I don't think that will work, unless you're guaranteed to have unique values in the source. EXCLUDE is a set operation, so you'll lose matching hex values. -- Gregg