Hi dudes,
some questions about records in Delphi:
- As records are almost like classes, why not use only classes instead of records?
- In theory, memory is allocated for a record when it is declared by a variable; but, and how is memory released after?
- I can understand the utility of pointers to records into a list object, but with Generics Containers (
TList<T>
), are there need to use pointer yet? if not, how to delete/release each record into a Generic Container? If I wanna delete a specific record into a Generic Container, how to do it?
Thanks in advance