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>init class:</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 INIT CLASS:
 Begin user-defined initialization of class
------------------------------------------------------------------------------

 Syntax:

    INIT [CLASS]:

 Description:

    This command is used within a class declaration block to allow
    initialization of class variables, and any other class initialization
    that is required, when a class is created.

    The command should appear after all other class declaration commands,
    but before the END CLASS command.  After the INIT CLASS: command,
    initialization can be performed as though a class method were being
    executed.  The self variable will contain a reference to the class
    object, allowing access to class variables and methods.  This facility
    can be thought of as a constructor for the class, as opposed to
    instances of the class.

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