Angus Robertson - Magenta Systems Ltd wrote:
>>> Because ICS has to support versions of Delphi that don't support
>>> dynamic arrays.
>>
>> But any Delphi version supports conditional compilation, which
>> is already used in ICS frequently, no big deal.
>
> Sure you can add conditional code, prov
> Why is FCmdTable declared as static array instead of dynamic
Because ICS has to support versions of Delphi that don't support dynamic
arrays. You won't find dynamic arrays anywhere is ICS, nor any language
improvements added in the last seven or more years.
> Also, why is it required to al
Hello,
Why is FCmdTable declared as static array instead of dynamic
which does not allow reallocation, for instance in an
overridden constructor?
FCmdTable : array [0..ftpcLast+5] of TFtpSrvCommandTableItem; { angus V1.39 }
Also, why is it required to allocate + 5 items?
---
Arno Garrels [Tea