sorry , no time to give a proper answer but to get you started
parse/all text [some["$" copy h to "," ","(print to-integer debase/base
h 16)
] ]
250
32
51
== false
S,emseddin Moldibi wrote:
> is there anyone already write a parse rule to convert hexadecimal to
> decimal? here is my situation,
>
> text: {$FA,$20,$33,$0102}
> result: copy []
> rule: [(append value to result)]
> parse text rule
>
> result
>>> [250 32 51 258]
>
--
To unsubscribe from the list, just send an email to
lists at rebol.com with unsubscribe as the subject.