[Lazarus] Passing a section of an array to a function.
Marco van de Voort
marcov at stack.nl
Tue Sep 11 12:32:40 CEST 2012
On Mon, Sep 10, 2012 at 02:29:14PM +0200, Sven Barth wrote:
> > The delphi compatible way is slice, but ti was only documented after the
> > last release:
> >
> > http://bugs.freepascal.org/view.php?id=22681
>
> I did know about Slice, but not about the possiblity to use ranges
> directly (and now I know what the corresponding code in the parser is
> for :P )
Afaik it was one of those "FPC must find its own way, and not slavishly
follow Delphi" features. Usually orphans at birth.
More information about the Lazarus
mailing list