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 functions and class objects</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    Class Functions and Class Objects
------------------------------------------------------------------------------

    Declaring a class with the CREATE CLASS command actually causes a
    function to be created (this is done with the Clipper preprocessor).
    This function has the same name as the class and is called a class
    function.  The class function actually creates the class (the first
    time it is called), and returns a class object which can be used to
    refer to that class.

    Class objects are real objects that have type 'O'.  If the class with
    which they are associated has any class variables, then they can be
    found in the class object.  When viewing instances of such a class in
    the debugger, in the list of instance variables an entry labeled
    class in lower case will appear.  This is the class object, and can
    be viewed by selecting it and pressing enter.

    Some uses of class objects are described in the following entries:

    .   Creating Instances
    .   Class Messages
    .   Comparing Classes

See Also: CREATE CLASS Creating Instances Class Messages Comparing Classes

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