[REBOL] Re: parse rule for converting hex to decimal
From: gregg:pointillistic at: 22-Feb-2010 22:10
Hi Graham, GC> The 'empty? test is also unnecessary as 'foreach already does that test. GC> foreach item parse/all text "$," [ GC> append result to-integer debase/base item 16 GC> ] I think Luke was using it to handle the case where a field is empty. e.g. parse/all text "$," Without the test, you'll get entries for the empty fields. -- Gregg