[plt-scheme] Read and Write from file

From: Daniel Pinto de Mello e Silva (daniel.silva at gmail.com)
Date: Mon Jan 24 23:09:59 EST 2005

On Mon, 24 Jan 2005 08:49:32 +0100, Malnati Jacopo
<jacopo.malnati at lu.unisi.ch> wrote:
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> Hi to all, I'm a student developing a game (as project) and I need to read and write a file.. I just want to load some integers and symbols from a file to a struct, then to save the struct as integers and symbols in the file back again..
> The file content should be something like:
> 'hi
> 1
> 2
> 3
> 'bye
> I haven't found a lot about read and write... I mean nothing that I can understand.
> I think I should use the "send" function but the help about it it's soooo hard to understand.. Can someone tell me where I can found some examples?

You can find some appetizing recipes in the Scheme Cookbook:



Posted on the users mailing list.