[fpc-pascal] Freepascal 2.2.0 released

Daniël Mantione daniel.mantione at freepascal.org
Tue Sep 11 17:22:52 CEST 2007



Op Tue, 11 Sep 2007, schreef Johann Glaser:

> Hi!
> 
> > > procedure abc(const x:array of byte);
> > > 
> > > begin
> > > end;
> > > 
> > > var b:array[0..15] of byte;
> > > 
> > > begin
> > >   abc(b[0..9]);
> > > end;
> > 
> > I see, pretty neat for handling array row-wise or the like, thanks.
> 
> Is it also possible to run
>   abc(b[2..9]);
> i.e. using a start-index different from 0?

Yes, you can.

Daniël


More information about the fpc-pascal mailing list