Hi Rob,
Welcome!
2013/4/3 sales.creditscore@creditscore.co.nz
Never thought of just typing the function straight into the interpreter :-| Anyway this is what it produces.
"C:\MinGW\msys\1.0\local\Gambit-C\bin"
That's the serialized form, for seeing a verbatim copy of the string content:
(print (current-directory) "\n")
C:\Program Files\Gambit-C\v4.6.6\bin\
..or in pieces..
(string->list (current-directory))
(#\C #: #\ #\P #\r #\o #\g #\r #\a #\m #\space #\F #\i #\l #\e #\s #\ #\G #\a #\m #\b #\i #\t #- #\C #\ #\v #\4 #. #\6 #. #\6 #\ #\b #\i #\n #\)
In the code in your previous email, you can leave object->string out as what you want right there is a verbatim copy of the string's content, and not what that procedure produces, which is a serialization though with a string as output rather than the console (as you showed an example of above) .
Brgds