From my observation while debugging, local variable inside procedure/functions usually contains garbage value (not initialized).
I get a warning that a local dynamic array variable is not
initialized.
Aren't such managed types initialized by default? On http://wiki.freepascal.org/Dynamic_array it says: Actually, dynamic arrays are pointers with automatic dereferencing. They are initialized to nil automatically. So why the warning? |
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal