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)?


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to