guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GUILE] Clubie question re loading data.


From: Keith Wright
Subject: Re: [GUILE] Clubie question re loading data.
Date: Thu, 25 Jan 2001 16:56:16 -0500

> From: "Bobby D. Bryant" <address@hidden>
> 
> I would find it much more elegant to have the file like this...
> 
> ;; Configuration data:
> (program-data
>    (size 100 100)
>    (color blue)
>    (more stuff like that below)
> )
> 
> ...and a mechanism to load the file into my program as quoted data.
> Something like load, except that it returned the un-interpreted value of
> the contents of the file, and bound it to whatever symbol you wanted to
> use.  Then you could processes it at your leisure.

(read)

      -- Keith



reply via email to

[Prev in Thread] Current Thread [Next in Thread]