Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Class(y) - <b>new</b> http://www.X-Hacker.org [<<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

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson