[gambit-list] Write to console from inside _gsi.scm?

Andrew Lentvorski bsder at allcaps.org
Wed Oct 25 02:56:23 EDT 2006


Marc Feeley wrote:
>   (write "foo!" ##console-port)

If I add that to the bottom of _gsi.scm, I get:
"foo!"*** ERROR IN ##main -- Error code 88 (load "")

and then a crash (normally that's a NULL pointer).

>   (current-output-port ##console-port)
>   (write "foo!")

This, however, works.  So, too does:

(current-output-port ##console-port)
(write "foo!" ##console-port)

-a




More information about the Gambit-list mailing list