Chapter Contents |
Previous |
Next |
Object Class: _new |
Syntax | |
Details |
Syntax |
return = objectName._new( ); |
Details |
When the _new method is invoked on an object, a new instance is created. The _new method of the new instance is automatically invoked. By default, the _new method of the Object class has no behavior. However, you can override the _new method in subclasses you create, and use your _new method to initialize your object with parameters that you pass.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.