<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<BR>Tried to read a posn that I had written to a file<BR>
&nbsp;<BR>
with<BR>
&nbsp;<BR>
(with-input-from-file "posn.txt" (lambda () (posn-x (read))))<BR>
&nbsp;<BR>
Got posn-x: expects argument of type &lt;struct:posn&gt;; given #(struct:posn 3 4)<BR>
&nbsp;<BR>
Btw I thought with-input-from-file was supposed to be part of ASL?<BR>
&nbsp;<BR>
PS I can read lists from file no problem.<BR>                                               <br /><hr />Do you have a story that started on Hotmail? <a href='http://clk.atdmt.com/UKM/go/195013117/direct/01/' target='_new'>Tell us now</a></body>
</html>