Hi Gregg

In that case, if the data is potentially suspect I would suggest this inste=
ad

foreach item exclude parse/all text "$," [ "" ] [
   append result to-integer debase/base item 16
]

On Tue, Feb 23, 2010 at 6:10 PM, Gregg Irwin <[email protected]> wrot=
e:
>
> Hi Graham,
>
> GC> The 'empty? test is also unnecessary as 'foreach already does that te=
st.
>
> GC> foreach item parse/all text "$," [
> GC> =A0 =A0 =A0append 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.
>
> =A0parse/all text "$,"
>
> Without the test, you'll get entries for the empty fields.
>
> -- Gregg
>
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
>
>



--=20
Graham Chiu
http://www.compkarori.co.nz:8090/
Synapse - the use from anywhere EMR.
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to