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: compkarori::gmail at: 23-Feb-2010 14:21

Hi Gregg I didn't realize that a set implies a collection of unique items.
>> help exclude
USAGE: EXCLUDE set1 set2 /case /skip size DESCRIPTION: Return the first set less the second set. EXCLUDE is a native value. ARGUMENTS: set1 -- First data set (Type: series bitset) set2 -- Second data set (Type: series bitset) REFINEMENTS: /case -- Uses case-sensitive comparison. /skip -- Treat the series as records of fixed size size -- (Type: integer) On Wed, Feb 24, 2010 at 4:43 AM, Gregg Irwin <gregg-pointillistic.com> wrote:
> Hi Graham, > > GC> foreach item exclude parse/all text "$," [ "" ] [ > GC> =A0 =A0append 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 > > -- > To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject. >
-- Graham Chiu http://www.compkarori.co.nz:8090/ Synapse - the use from anywhere EMR.