[fpc-pascal] Automatic objects
Lars Eriksen
downgrade at gmx.org
Fri Aug 4 17:58:35 CEST 2006
Hello!
I've recently switched from Delphi to FP and never been exposed to
TP-style objects before.
At first sight they seem very similar to Delphi-style classes. However,
it seems it is possible to allocate them on the stack - very convenient.
Is it right to assume they are automatically deallocated when they go
out of scope (e.g. no need to free them manually)?
More information about the fpc-pascal
mailing list