|
|
|
|
|
by pjmlp
17 days ago
|
|
You worked around that with arrays of chars. Turbo Pascal 1.5 for Windows 3.1 introduced C strings (PChar), and afterwards, Turbo Pascal 7 took open arrays from ISO Extended Pascal. Malloc() is a primitive library call where one always has to do sizeof math for memory allocation, if you wanted that fun in Turbo Pascal instead of plain New, you could use GetMem and FreeMem functions. And the concept of areas was already supported with Mark/Release. |
|