Example: Examining the format of filed-out code shows you how to file out a method. You can also file out applications, subapplications, and classes.
To file out components that you created in the development environment, do the following:
If you have never changed the setting, you do not need to evaluate this expression. Your system files out components in the IBM Smalltalk format by default.
If you will use your components in another Smalltalk environment, you should file out in the generic format.
To file out an application and all of its classes and methods, just select the application. Similarly, to file out a class and all of its methods, just select the class.
However, to file out a subapplication along with its containing application, you cannot just select the application. You must select the application and the subapplication. Also, ensure that all contained components exist in your image. Though you can file out editions, if you file out versions you can be sure that all contained components make it into the target file.
Instead of using One Name, you can use Name Each or Use Defaults. Both options put all of the containing components you selected into separate files. You should use these options when you file out prerequisites along with your applications.
After you make your selection, a window is displayed asking you to name the file that will hold the contents of your application. You can use the default name shown in the file name entry field or type in a new name. From this window, you also specify the target directory.