Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
21
Task/Inheritance-Single/Seed7/inheritance-single.seed7
Normal file
21
Task/Inheritance-Single/Seed7/inheritance-single.seed7
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
$ include "seed7_05.s7i";
|
||||
|
||||
const type: Animal is new struct
|
||||
# ...
|
||||
end struct;
|
||||
|
||||
const type: Dog is sub Animal struct
|
||||
# ...
|
||||
end struct;
|
||||
|
||||
const type: Lab is sub Dog struct
|
||||
# ...
|
||||
end struct;
|
||||
|
||||
const type: Collie is sub Dog struct
|
||||
# ...
|
||||
end struct;
|
||||
|
||||
const type: Cat is sub Animal struct
|
||||
# ...
|
||||
end struct;
|
||||
Loading…
Add table
Add a link
Reference in a new issue