Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - <b>inheritance</b> creating new classes from existing ones http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Inheritance                Creating new Classes from existing ones
--------------------------------------------------------------------------------

  We may create new Classes from the ones we already have! We say we 'inherit'
  new Classes from the previous ones.

  In those Classes we use what we already have, but we may:

      * Modify some behaviors!

      * Add some new Data!

  Using Inheriting Classes we build a Class Hierarchy!

  In Clipper we do:

  CLASS TDialog FROM TWindow

     ...

  ENDCLASS

  TDialog Objects have all the functionality of a TWindow Object but
  we add some new Data and we modify some behaviors!

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