Wouldn't this work?
: read-preferences ( -- hash )
preferences-file run-file ;
: write-preferences ( hash -- )
preferences-file [ . ] with-file-writer ;
Slava
On 29-Feb-08, at 9:23 AM, Nikhil Marathe wrote:
> Hello,
>
> I was wondering if anybody has already added a preferences
>
Hello,
I was wondering if anybody has already added a preferences vocabulary
similar to Python's ConfigParser (
http://docs.python.org/lib/module-ConfigParser.html )
If not, well I'm already hacking on it.
Nikhil.
-
This SF.n