Creating instances of a class

For C programmers with usage bindings, SOM provides the <className>New and the <className>Renew macros for creating instances of a class.

These macros are illustrated with the following two examples, each of which creates a single instance of class "Hello":

   obj = HelloNew();
   obj = HelloRenew(buffer);


[Back: Declaring object variables]
[Next: Using New]