You should be able to get what you want with this code segment... print to-integer debase/base "fa" 16 >> 250
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of S= emseddin Moldibi Sent: February 22, 2010 7:02 AM To: [email protected] Cc: =AAemseddin (GMail) Subject: [REBOL] parse rule for converting hex to decimal is there anyone already write a parse rule to convert hexadecimal to =20 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] --=20 To unsubscribe from the list, just send an email to=20 lists at rebol.com with unsubscribe as the subject. -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.
