[fpc-pascal]Pointer Help

Anton Tichawa anton.tichawa at chello.at
Sun Feb 9 15:12:07 CET 2003


On Sunday 09 February 2003 12:54, you wrote:

> freeMem(tmpStrings, sizeOf(String) * (N));

No, only:

freeMem(tmpStrings);

Read the Manual - Free Pascal Programmer's Manual, Section 4.5, "Writing Your 
Own Memory Manager" - because that's what you're actually doing.

HTH

Anton Tichawa.



----------

"Adas Methode war, wie sich zeigen wird, Tagträume in offenbar korrekte 
Berechnungen einzuweben."

Doris Langley Moore: Ada, Countess of Lovelace (London 1977).

----------

Anton Tichawa
Volkertstrasse 19 / 20
A-1020 Wien
mobil: +43 664 52 07 907
email: anton.tichawa at chello.at

----------



More information about the fpc-pascal mailing list