Is there a reason when using the INI object, you can't set the group or item name to a variable?
For Example;
Pressed "S" Set item value Alternate Variable A "Active Object1" to Item Global Variable A
You get "Please Enter A Text Expression"
Is there a way this could be done using INIs? Or would MMF 2.5 just get confused?
I can't use arrays; I don't think you can set the array as a specific file like you can with INIs.
For some insight, I am building an application in which the user has the possibility to create
upto 250 objects on the screen. Each of those objects has a variable that must be saved that indicates
an item part (the variable is 0-65). Right now, I have it set up so it creates an item for all 250 potential
objects, and sets the value for each object. This is 250 events to save, and 250 events to load. The INI file
holds this data, plus a couple strings provided by the operator. The files are shared by employees, so I need to
be able to specify a file name and be able to share the file. Right now it works, but in the near future I am going to have to make it work with close to 1000 objects. There has to be an easier way to achieve this.
Thanks.
Thanks.





Reply With Quote



