| version 1.1, Mon Aug 3 17:56:05 1998 UTC | version 1.2, Wed Oct 7 18:29:38 1998 UTC | ||
|---|---|---|---|
|
|
||
| end-class xcounter | end-class xcounter | ||
| object class | object class | ||
| foobar implementation | foobar implementation | ||
|
|
||
| order | order | ||
| cr | cr | ||
| \ test override of inherited interface selector | |||
| xcounter class | |||
| m: ( object -- n ) | |||
| this [parent] val 2* | |||
| ;m overrides val | |||
| end-class ycounter | |||
| ycounter dict-new constant z | |||
| cr | |||
| z print cr | |||
| z val . cr | |||
| z inc | |||
| z val . cr | |||
| \ test inst-value | |||
| object class | object class | ||
| foobar implementation | foobar implementation | ||
|
||||||||
|
CVS Admin Powered by ViewCVS 1.0-dev |
ViewCVS and CVS Help |