Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
7
Task/Inheritance-Single/Forth/inheritance-single-1.fth
Normal file
7
Task/Inheritance-Single/Forth/inheritance-single-1.fth
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
include 4pp/lib/foos.4pp
|
||||
|
||||
:: Animal class end-class {} ;
|
||||
:: Dog extends Animal end-extends {} ;
|
||||
:: Cat extends Animal end-extends {} ;
|
||||
:: Lab extends Dog end-extends {} ;
|
||||
:: Collie extends Dog end-extends {} ;
|
||||
7
Task/Inheritance-Single/Forth/inheritance-single-2.fth
Normal file
7
Task/Inheritance-Single/Forth/inheritance-single-2.fth
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
include FMS2LL.f
|
||||
|
||||
:class Animal ;class
|
||||
:class Dog <super Animal ;class
|
||||
:class Cat <super Animal ;class
|
||||
:class Lab <super Dog ;class
|
||||
:class Collie <super Dog ;class
|
||||
Loading…
Add table
Add a link
Reference in a new issue