[Gambas-user] How do I use Tableview
Bodard Fabien
gambasfr at ...11...
Thu Mar 10 20:32:15 CET 2005
Le jeudi 10 Mars 2005 08:42, Eilert a écrit :
> Just a question about the code in the example:
> > Simple Tutorial explanation by demo at
> > http://www.gambasforge.net/code.php?id=31
> >
> > Fabien
>
> FOR i = 0 TO 9
> ari = NEW Variant[]
> ari.Resize(10)
> aro.Add(ari)
> NEXT
>
> Why is the ari.Resize(10) within the FOR-NEXT-loop? Wouldn't it be ok to
> put it outside?
>
> Rolf
No because i instanciate a new array class at each loop.
so i need to set the size
Fabien
More information about the User
mailing list