SOM_SubstituteClass
Appearance
This macro provides a convenience macro for invoking the somSubstituteClass method.
Syntax
<token> oldClass; <token> newClass; SOM_SubstituteClass(oldClass, newClass);
Parameters
- oldClass (<token>)
- The name of the class to be substituted, given as a simple token rather than a quoted string.
- newClass (<token>)
- The name of the class that will replace oldClass, given as a simple token rather than a quoted string.
Return Code
Remarks
The method somSubstituteClass requires existing class objects as arguments. Therefore, this macro first assures that the classes named oldClass and newClass exist, and then calls the method somSubstituteClass with these class objects as arguments.
Example Code
See the method somSubstituteClass.
Related
- Methods