07-11-2006 03:42 AM
07-11-2006 03:57 AM
07-11-2006 04:10 AM
Yes I thought of that to.
Saving as cluster? I am using this method in other vi's, which is working well.
I just wanted to do something more elegant. Maybe this is a stupid idea. If can't figure out to do that with the "default setting" method, i will do it as usual.
What is the best way to save such kind of data? I often have the problem, that (with the cluster method) old settings can not be used, if the cluster changes.
07-11-2006 04:17 AM
I usually use two methods. Either ini files or XML files. If I know there will be changes every now and then, I use the ini file. If the datastructure remains almost untouched, I use XML files.
For more elegant handling of the data I mostly use clusters and define a strict type def. So every instance of the cluster is updated. You can write both types of files if the data comes out of the cluster. There is a little bit more work to do if you use ini files than XML files.
Anyway - this is my personal opinion and there are lots of others here in the forums. Finally you have to decide what is best for you.
07-11-2006 04:35 AM
07-11-2006 04:38 AM
07-11-2006 04:39 AM