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

Re: MzScheme Strings



Quoting Brent Fulgham:
>     Scheme_Object* val = scheme_eval_string(str, env);
> 
>     int len = 0;
>     char* output = scheme_write_to_string(val, &len);
> 
> I find that this gets returned as:
> 
> output = "foobar"
> 
> Rather than the plain "quote-less" version I would
> expect.

MzScheme provides both scheme_write_to_string() and
scheme_display_to_string(), which are just like their `write' and
`display' counterparts.

Matthew