06-26-2008 03:18 AM
06-26-2008 03:31 AM
06-26-2008 04:33 AM
06-26-2008 04:48 AM
Hi, Andre
The source of these variables is user interface. Parameters of one parameter group are divided even more smaller groups. User interface is intialized from wfile and after that user can see and change the values. One minor parameter group is writed to array and then array elements are writed to file.
Shared variables are not good solution because the amount of variables is quite large.
-Jim
06-26-2008 07:54 AM
06-26-2008 08:01 AM
Hi Jim,
My Adaptive Save-Restore Nugget will read or write the entire contents of a cluster to/from an ini file. It also adapts to changes to the type-def automatically. The code included in that example support string numerics and the more common data types. Others can be added as required.
That code may give you some ideas.
Ben
06-26-2008 08:05 AM
Hi Andre,
Thank you very much. I tested what you suggested. This solution is great! It is documenting my code very efficient and it is easy use. And one advantage is of course that every labels etc. are updating automatically. If people ever need to save huge amount parameter data I really recommend this code structure.
-Jim