2 ms·
I really, really want a Turbo Pascal 5.5 with objects for linux.
by russh 8y ago
I really, really want a Turbo Pascal 5.5 with objects for linux.
- barrkel 8y agoFreePascal is about that. TP 5.5 with objects was a really clunky object system though (designed by Apple, IIRC). Object slicing by default. Vtable pointer added on definition of first virtual method in object hierarchy, like C++. And to invoke a constructor on a new heap-allocated object, you had to pass it as an argument to New(), with this weird syntax - "New(myObjPtr, Init(...))". Delphi's object system was far superior. See some examples: http://collaboration.cmc.ec.gc.ca/science/rpn/biblio/ddj/Website/articles/DDJ/1989/8907/8907e/8907e.htm http://collaboration.cmc.ec.gc.ca/science/rpn/biblio/ddj/Web...