Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- program ObjectTest;
- var c : Object(cenas)(me : Fun() : cenas);
- class Counter
- function me() : Object(bla)(me : Fun() : bla)
- begin
- result := self
- end;
- begin
- writeln()
- end;
- begin
- c := new Counter
- end.
Add Comment
Please, Sign In to add comment