<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<br>I'm a bit stuck on finding info for scheme s7 format conversion from float to string for output to file.&nbsp; I've tried several things, mostly looking at lisp code, but cannot seem to come up with what it wants.&nbsp; Any help or hints would be appreciated.<br><br>Thank you.<br><br>&nbsp;<br>(define ouf1 (open-output-file "myfloats.txt")) <br>(define outstring "init") <br>&nbsp;<br>(define (myfloats total) <br>(let ((test 0)) <br>&nbsp;(process&nbsp; with mytable = (make-heap '(.5 1 2.5 3))<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; until (= test total) <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; do <br>(set! outstring (next mytable))&nbsp;&nbsp; ;***stuck here with format conversion ***<br>(set! outstring (string-append outstring (string #\newline)))<br>(display outstring ouf1)<br>(print (next mytable)) <br>(set! test (+ test 1))&nbsp;&nbsp; ))) <br>&nbsp;<br>(sprout (myfloats 10) ) <br>&nbsp;<br>(close-output-port ouf1)<br>                                               </div></body>
</html>