[fpc-pascal] Initialize/Finalize with count, is it possible?
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
>>> developer using it, and maybe because of this I just have to make some
>>> by myself, suggesting the result to be committed :). Please let me know
>>> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal