Just because I want to know the delay between sending and receiving the 
posts I add one more

parse/all text [
     (result: make block! 5) some [
         thru "$" copy x [ to ","  | to end] ( append result to-integer 
debase/base x 16) skip
     ]
]

 >> now/utc
== 23-Feb-2010/6:43:35


On 22.02.2010 16:06, sqlab wrote:
> one of many solutions
>
> parse/all text [
> (result: make block! 5) some [
> thru "$" copy x to "," ( append result to-integer debase/base x 16) skip
> ]
> thru "$" copy x to end ( append result to-integer debase/base x 16)
> ]
> result
>
>
>
> On 22.02.2010 13:01, Ş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.

Reply via email to