[fpc-pascal] Re: Weird interface behavior

leledumbo leledumbo_cool at yahoo.co.id
Sun Jan 23 16:57:50 CET 2011


> What's wrong with using an abstract class ?

Nothing, that's just the way I got taught and I couldn't find a way to say
it was wrong until today (I never used interface previously).

> By choosing an interface, you implicitly get the reference counting on top
> of things, and this seems to be what causes your error ?

Yeah, I thought so. There's something different about Object Pascal's
interface (I hope Delphi does the same) and Java (the one I learned in
college).
-- 
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Weird-interface-behavior-tp3353651p3353727.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list