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

Benoît Minisini gambas at ...1...
Thu May 22 00:19:46 CEST 2014


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.

-- 
Benoît Minisini




More information about the User mailing list