> On Mar 15, 2011, at 8:42 AM, DougEdmunds wrote:
> > I created a class that uses a classVariable. How can I export the
> > contents of that variable to an external file so I can import it back
> > into another image after I filein the class to the other image?
> nothing is done by default.
> You should define it in an initialize.
Yes, you need to write an initialize method on a class that initializes the
class variable.
When you load a class into your image, an initialize methods on the class side
is executed by the loading machinery.
Another question is whether you really want a class variable or a class
instance variable. I'll leave that for you to decide.
Andrew