Hi,

you wrote:
>I have a set of functions which turn the contents of an e-mail message 
>object into a different object (called "article.")
>
>       article: make object! [
>               headline: subject-pieces/1
>               subheadline: subject-pieces/2
>               body: content-pieces
>       ]
>
>I'm trying to figure out how to probe the object and then write the 
>result of the probe out to a file for inclusion at a later date.

Why don't you use save?

>> save article 

will write the object to a file. Later you can read or load it back. In
either case you will have to either do the result of reading the file, to
convert the string (read) or block (load) to an object:

retrieved-article: do read %article.txt
retrieved-article: do load %article.txt

Another option is to use

>> write filename mold object

Same result as saving the object.



;- Elan >> [: - )]

Reply via email to