Programmer's Reference

Class accessing

comment, comment:, definitionString, setClassName:

Note:
The message setClassName: is a basic accessor that works outside the source code manager. No renaming messages aside from setClassName: are included in this release of CLIM. Under normal circumstances renaming should be under the control of the source code manager.
Porting tip:
Smalltalk/V and Objectworks\Smalltalk both support comment and comment:. Objectworks\Smalltalk has a message named definition that is the same as definitionString, while Smalltalk/V has no such message. Neither supports setClassName:. Both Smalltalk/V and Objectworks\Smalltalk provide other messages for renaming classes.
Tip:
Using setClassName: will make the image inconsistent with the source code management system. This method should only be sent by experienced developers who are certain of the outcome.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]