>I will give this some thought. Would you use the writeExpression method to do this?
Glen's idea is an excellent one. Depending on how/where you want to persist your data you would write a method to do it. DBFs are easy and you already know how to deal with those.
For INI and Registry take a look at the appropriate classes and samples that come with the FoxPro Foundation Classes (FFC). Open the Gallery Component
DO (_gallery)
and take a look at the samples. Study the classes's methods and see how easy it is.
For XML you have several choices, like VFP7's or Rick's wwXML class's
CURSORTOXML()
or you could write directly using the XML parser from Microsoft.
HTH