You use the method dumpClassVariable:in: to unload class variables with their current values, and dumpClassVariable:withValue:in: to unload them with new values.Prior to executing the code in any of these examples, load packaging instructions and create an instance of EaComponentMapManager called ComponentMaps by executing Step 1 of Example: Unloading an application and its subapplications.Suppose a class named Alpha has the following definition:To unload the class variable "E" with its current value into a file named alpha.ic, you use statements in the following code fragment:Suppose, for the class Alpha defined in Example: Unloading a class variable with its current value, you want to unload the class variable "E" with a current value of 100 into a file named alpha.ic. To do so, you use the following code fragment:
|