[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 CLASS METHOD
 Declare class method(s)
------------------------------------------------------------------------------

 Syntax:

    CLASS METHOD <method name list> [DEFERRED | NULL]

 Arguments:

    <method name list> is a list of names of methods to be declared.
    Each method declared should be defined later in the same module using
    the METHOD FUNCTION or METHOD PROCEDURE command, unless the
    DEFERRED or NULL clause is specified.

 Description:

    Declares one or more class methods, and corresponding messages with the
    same names.

    A class method applies to an entire class, rather than to a single
    instance of a class.  See the section on Class Messages for more
    information.

    If a message and its method cannot have the same name, the
    CLASS MESSAGE...METHOD command should be used instead.

    The optional DEFERRED clause (or its equivalent NULL) declares
    that the specified methods are deferred or null, respectively. See
    Deferred Methods and Null Methods for more information.
    Messages declared DEFERRED or NULL do not require corresponding
    methods to be defined in the same class.  If a method with the same
    name as a deferred or null method is defined in the same module, it
    will be ignored.

See Also: CLASS MESSAGE...METHOD Class Messages Deferred Methods Null Methods
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson