This example shows you how to change the following setting in the Preferences Workspace:
The default setting System genericFormat: false has the class System file out your components in the IBM Smalltalk format. This format chunks component definitions, source code, and other information about components. It marks the end of each chunk with one exclamation point (!) and the end of each file with an exclamation point, a space, then another exclamation point (! !). When you file out components in the IBM Smalltalk format, you can easily file those components back into a VisualAge system.
When you file out components in the generic (non-IBM) Smalltalk format and then file those components back into a VisualAge system, you might find that the filed-in components are structured differently than the components you originally had. For example, private methods become public methods.
If you intend to file components into a system that uses the generic Smalltalk format, you should change the setting to true before you file out your components.
To change the setting to true, do the following in the Preferences Workspace:
You can verify that evaluating the expression changed the setting by, of
course, filing out code and seeing whether the target file contains statements
that define a method's structure. An easier way is to display the
statement System genericFormat.
The current setting, such as false, is displayed.