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
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to