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
yourself.
Being an object, just gives you the added automatic zeroing of its
content. Advanced Record does not have constructor so you must
initialize yourself.
The documentation should state that constructor of object also clears
the memory space.
Dennis
Santiago A. wrote:
al method
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal