On Sat, Nov 16, 2024 at 8:55 AM Steve Litt via fpc-pascal
<fpc-pascal@lists.freepascal.org> wrote:


> See this is what I don't understand. In the 7 years I used Turbo Pascal
> professionally, I don't remember ever having to allocate or free
> memory: I just declared variables. This was one of the big advantages
> of Turbo Pascal over C.

Well, then you never needed datastructures > 64k (IIRC).
Even my addressbook (who didn't write one?) used GetMem/FreeMen or
New/Dispose to allocate new records on the heap for that.
Even basic Pascal books (yes, books on paper in those years)
extensively covered this subject.

-- 
Bart
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to