Mike here is an ini example I wrote tonight.
It is straightforward. It is just long because I assign and then print back the data to the console window.
There are no error checks or anything.
But it will assign values to the variables,
Save them to an ini file in the app path
Read back the data from the ini file
and display it on the screen.
To see how it works in tbgl, you can look at my last modelviewer code.
I used ini files to write out that data and to load it the next time a user uses the app again.
It worked well and that is what really sold me on ini.
If you want to write a comparison xml version it would be neat to see the difference.
And if any benefits.
Anyways here is the script attached. It is a console application for simplicity.
Bookmarks