You use the method dumpGlobals: to unload global variables with their current values, and dumpGlobal:withValue: to unload them with a new value. If you set new values, ENVY/App overwrites the values existing in the image into which the variables are being loaded.Prior to executing the code this example, load packaging instructions and create an instance of EaComponentMapManager called ComponentMaps by executing Step 1 of Example: Unloading an application and its subapplications.To unload a global variable named "One" with its current value and a global variable named "Two" with a value of 1000 into a file named both.ic, you use statements in the following code fragment:
|