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>class message...method</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 CLASS MESSAGE...METHOD
 Declare class message and corresponding method
------------------------------------------------------------------------------

 Syntax:

    CLASS MESSAGE <message name> METHOD <method name>

 Arguments:

    <message name> is the name of the message being declared.  Like a
    Clipper variable, up to 10 characters are significant.  Extra characters
    will be ignored.

    <method name> is the name of the method to invoke when the specified
    message is sent.  A method of this name should be defined later in the
    same module using the METHOD PROCEDURE or METHOD FUNCTION command,
    unless an external method is being declared.

 Description:

    Declares a class message and corresponding class method.  A class
    message can be sent to a class object, as well as to an instance of
    that class.  See the section on Class Messages for more information
    about class messages and methods.

    This command is used when a method cannot have the same name as the
    message which invokes it.  If a message and its method have the same
    name, the CLASS METHOD command should be used instead.

    See the MESSAGE...METHOD command for more information about when a
    message and a method cannot have the same name.

See Also: MESSAGE...METHOD CLASS METHOD Class Messages External Methods

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