[fpc-pascal] Fwd: What to do to get new users
Steve Litt
slitt at troubleshooters.com
Tue Nov 19 12:09:07 CET 2024
Bart via fpc-pascal said on Sat, 16 Nov 2024 14:59:10 +0100
>On Sat, Nov 16, 2024 at 8:55 AM Steve Litt via fpc-pascal
><fpc-pascal at 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).
I didn't.
>Even my addressbook (who didn't write one?) used GetMem/FreeMen or
>New/Dispose to allocate new records on the heap for that.
You're right. I never implemented a linked list or binary tree with
Turbo Pascal, or anything that used an arbitrary number of "things". I
always used C, Python or Perl for that kind of thing. So you're right
and I was wrong, Getmem/Freemem are very important.
SteveT
Steve Litt
http://444domains.com
More information about the fpc-pascal
mailing list