chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] "string->number" crashed when compile into exe


From: mao junhua
Subject: [Chicken-users] "string->number" crashed when compile into exe
Date: Sat, 2 Mar 2013 10:02:09 +0800

Hi,
the follow code works well in csi, but will crash after it is compiled into exe by csc. what's wrong with me? I compiled with bigloo scheme and ran, it works well, any suggestions would be greatly appreciated :) .
-----------------------------
> (define hex-char "00")
> (define int-tmp 0)
> (set! int-tmp (string->number hex-char 16))
-----------------------------
Error Message:
-----------------------------
> Error: (string->number) bad argument type - invalid base: #(#<procedure> #<inval
> id immediate object> #(827119570
------------------------------
Environment: chicken iup for windows
------------------------------
> CHICKEN
> (c)2008-2011 The Chicken Team
> (c)2000-2007 Felix L. Winkelmann
> Version 4.6.5
> windows-mingw32-x86 [ manyargs dload ptables ]
> compiled Fri 03/25/2011  on hermes (MinGW)

mao

reply via email to

[Prev in Thread] Current Thread [Next in Thread]