On Sat, Nov 20, 2010 at 12:07 PM, Honza <befelemepesev...@gmail.com> wrote:

> 2010/11/20 Max Vlasov <max.vla...@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?
>
> --
>

Honza, I suppose I will go with such change, but one other thought. As you
may know, many Delphi developers impressed by Lazarus hope all their
existing sources will be fpc-compatible some time. I'm just a little sad
that I have to apply this change (sure side effect critical) to about 200
source files with this constructs I have. I'd also multiply it by 2 since
there is also the finalize section in the same files:). Anyway, not a big
deal, probably some regular expression to come up with

Max
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to