Hi,
on saving my app's config (ini) settings I want to do things as simple as
possible.
I plan on storing in a text file.
The variables are of type: Color, Boolean, String, Integer/Double
The problem is Color and Boolean, i.e &cFF00FF and False
Is there a simple way of converting these to string so they can simply be
appended to
the string as shown here:
fileStream.WriteLine "RPMDROcolor="+str(RPMDROcolor)
(this one obviously doesn't work...)
I'd also need to convert these back later on config open.
Any ideas?
--
*******************************************
VISIT MY HOME PAGE:
<http://home.online.no/~eikarlse/index.htm>
LAST UPDATED: 23/08/2003
*******************************************
Regards
Eirik Karlsen
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|