[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
new
------------------------------------------------------------------------------
new is the default constructor message. Even if no constructor is
defined, sending the new message to a class will create an empty
instance of that class. Constructor messages are discussed further
in Constructor Messages and Methods.
Since the new message is automatically added to a class, it is not
necessary to declare it in the class declaration. In fact, a declaration
for new is generated automatically by the CREATE CLASS command.
This means that a constructor method named new can be defined for a
class without explicitly declaring it, since it is automatically
declared.
See Also:
Constructor Messages and Methods
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson