[Lazarus] String vs WideString

Bart bartjunk64 at gmail.com
Thu Aug 17 12:17:12 CEST 2017


On 8/17/17, Sven Barth via Lazarus <lazarus at lists.lazarus-ide.org> wrote:

>> really? delphi came from TP/BP... i was (still am, actually) using
> dynamic arrays in TP6 ;)
>
> Dynamic arrays in the form of "array of Type" were only introduced in
> Delphi 3 if I remember correctly. Anything before that needed manual memory
> management.

I had D3 Pro, and this did definitively NOT support dynamic arrays.
(Even String still was ShortString.)
All arrays had to be fixed range.
The often used construct to bypass this limitation was: Array[0..0] of
TSomeType and have Range checking of.

Bart


More information about the Lazarus mailing list