[gambit-list] how to use write to print string and character "normally" ?

Bradley Lucier lucier at math.purdue.edu
Thu Apr 26 22:20:38 EDT 2007


On Apr 26, 2007, at 10:10 PM, dillo gimp wrote:

>
> hi
>
> how to use write to print string and character "normally" ?
> that is without the quotes and #\ ?

You use display:

[brad:~/programs/gambc-4.0b22] lucier% gsi/gsi
Gambit Version 4.0 beta 22

 > (write "abc\n")
"abc\n"> (display "abc\n")
abc
 > (write #\c)
#\c> (display #\c)
c>


> Thanks.
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list




More information about the Gambit-list mailing list