[fpc-pascal] Problem with objects
dennis at avidsoft.com.hk
Wed Dec 23 17:36:16 CET 2015
I think for both Record or Object, you need to initialize any dynamic
array or strings fields before using them.
If you don't use any constructor , you need to initialize the fields
Being an object, just gives you the added automatic zeroing of its
content. Advanced Record does not have constructor so you must
The documentation should state that constructor of object also clears
the memory space.
Santiago A. wrote:
> al method
More information about the fpc-pascal