[Gambas-user] Integer[].Read() documentation

Tobias Boege taboege at ...626...
Thu May 22 14:58:41 CEST 2014


On Thu, 22 May 2014, Beno?t Minisini wrote:
> Le 21/05/2014 22:04, Tobias Boege a ?crit :
> > Hi,
> >
> > in the docs, Integer[].Read() [0], says that if the Length argument is not
> > given, the array is filled until the end of the array is reached.
> >
> > This doesn't sound meaningful (aren't we constantly at the end of the
> > array when we add elements?). I think it should read: until the end of
> > the *Stream* is reached.
> >
> > Is that correct?
> >
> > Regards,
> > Tobi
> >
> > [0] http://gambaswiki.org/wiki/comp/gb/integer[]/read
> >
> 
> No, the Read() method does not add anything to the array: it fills it 
> with the stream contents.
> 

I guess from the sources that this is a different syntax for

  Read #Stream As Integer[]

If yes, then it's perfectly clear to me.

Regards,
Tobi

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk




More information about the User mailing list