Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2016-03

How to automatically free classes/objects?

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Aradeonas

Subject say what I want and as discussed here there are couple of ways to do this and one of them is a custom garbage collector : http://stackoverflow.com/questions/415958/how-to-automatically-free-classes-objects

I want to know is there any better way in Lazarus or what should I do?

Regards, Ara

http://www.fastmail.com - Send your email first class -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20160301/e02a3992/attachment.html>

Reply by email

Marcos Douglas
to Aradeonas: Subject say what I want and as discussed here there are couple of ways to do this and one…
Aradeonas wrote 5 lines
Subject say what I want and as discussed here there are couple of ways to do this and one of them is a custom garbage collector : http://stackoverflow.com/questions/415958/how-to-automatically-free-classes-objects I want to know is there any better way in Lazarus or what should I do?

Use interfaces instead of objects.

Marcos Douglas

Reply by email