www.delorie.com/gnu/docs/gforth/gforth_161.html   search  
 
Buy GNU books!


Gforth Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5.21.3.3 The `object.fs' base class

When you define a class, you have to specify a parent class. So how do you start defining classes? There is one class available from the start: object. It is ancestor for all classes and so is the only class that has no parent. It has two selectors: construct and print.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003