On 4/11/06, Daishi Kato <[EMAIL PROTECTED]> wrote:
>
> One thing I can't figure out is
> how to parse a hex number in a string.
> For example, I want to get a number
>  58
> from a string
>  "3a"
>
> It's like the opposite of (format "~X" ...).
> Such procedure in Chicken?

(string->number "3a" 16) ? It isn't exactly scanf, but its a start.


cheers,
felix


_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to