[plt-scheme] Read and Write from file
--- Daniel Pinto de Mello e Silva <daniel.silva at gmail.com>
wrote:
> On Mon, 24 Jan 2005 08:49:32 +0100, Malnati Jacopo
> <jacopo.malnati at lu.unisi.ch> wrote:
> > 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..
[...]
> You can find some appetizing recipes in the Scheme
> Cookbook:
>
> http://schemecookbook.org/Cookbook/FileChapter
The following two recipes also address your problem:
http://schemecookbook.org/Cookbook/StructuresReadingAndWriting
http://schemecookbook.org/Cookbook/IdiomSerializeToFile
Cheers,
Noel
=====
Email: noelwelsh <at> yahoo <dot> com
AIM: noelhwelsh
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail