What if scenario - for presaved data file [txt]
Posted: Tue May 14, 2013 10:45 pm
Hello GANG!
Have a general programming question to ask. Would sure appreciate experienced insights
I have my very first VST app up and running .. YEAH !
Within this VST, I'm using a separate 'configuration' file that stores User entered data. This 'text' file is auto-loaded at the start. The User can modify values and then re-save the file. This is all working good. [BTW, I also use a Preset Manager prim [hidden] to collect all knobs names and things as a separate entity].
My question goes to this ... future compatibility. ?!?
What would happen if I needed to expand the amount of User data to be saved to this text file ??
For example:
With the current app, Users are working away using the data they've entered. At some future point, an idea comes up to add an addition 'user defined' section. This would mean expanding the data list that was previously saved.
OK ... I now know how to modify the program, adding any additional Arrays to add to the 'big list' ... the question is one of compatibility now.
What [if any] issue would be if I add more arrays to store? ... Will the 'original' data saved be messed up or produce an EOF error type of thing ???
Kinda thinking out loud on this potential issue, and would like to consider 'best options' before releasing out into the wild.
Thanks for any 'schooling' on this
Have a general programming question to ask. Would sure appreciate experienced insights
I have my very first VST app up and running .. YEAH !
Within this VST, I'm using a separate 'configuration' file that stores User entered data. This 'text' file is auto-loaded at the start. The User can modify values and then re-save the file. This is all working good. [BTW, I also use a Preset Manager prim [hidden] to collect all knobs names and things as a separate entity].
My question goes to this ... future compatibility. ?!?
What would happen if I needed to expand the amount of User data to be saved to this text file ??
For example:
With the current app, Users are working away using the data they've entered. At some future point, an idea comes up to add an addition 'user defined' section. This would mean expanding the data list that was previously saved.
OK ... I now know how to modify the program, adding any additional Arrays to add to the 'big list' ... the question is one of compatibility now.
What [if any] issue would be if I add more arrays to store? ... Will the 'original' data saved be messed up or produce an EOF error type of thing ???
Kinda thinking out loud on this potential issue, and would like to consider 'best options' before releasing out into the wild.
Thanks for any 'schooling' on this