[fpc-pascal] Initialize/Finalize with count, is it possible?

Max Vlasov max.vlasov at gmail.com
Sat Nov 20 12:46:08 CET 2010

On Sat, Nov 20, 2010 at 1:29 PM, Sven Barth <pascaldragon at googlemail.com>wrote:

> On 20.11.2010 10:07, Honza wrote:
>> 2010/11/20 Max Vlasov<max.vlasov at gmail.com>:
>>>         FillChar(Section^, Count*ElementSize, 0);
>>>         Initialize(TNameValueRec(Section^), Count);
>>> Is possible for such syntax to be supported? Probably I'm one of those
>>> rare
>>> developer using it, and maybe because of this I just have to make some
>>> patch
>>> by myself, suggesting the result to be committed :). Please let me know
>>> if
>>> it's possible.
>> Why to patch the language when a for loop can do the same as above?
> Two words: Delphi compatibility. (I know that some can't hear/read it
> anymore ^^)
> That said:
> @Max: Just report it and if the devs reject it, then you'll need to use a
> workaround. (And no, you can't edit the bug report you mentioned, cause it's
> already closed, so you need to create a new one)
Thanks a lot, submitted a new issue:
It's great to hear that the team takes the delphi compatibility very
seriously :)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20101120/7cef2a48/attachment.html>

More information about the fpc-pascal mailing list