Le 07/04/2014 22:18, Tobias Boege a écrit : > Hi, > > the documentation[0] says about Array.Remove() that if Length is negative, > then all the elements from Index on backwards are removed, i.e. > > hArray.Remove(i, -42) > > is equivalent to > > For j = 0 To i > hArray.Remove(0) > Next > > But in practice (using Dim hArray As Array = myIntegerArray), it does > > For j = i To hArray.Max > hArray.Remove(i) > Next > > What is the intended behaviour? > > [0] http://gambaswiki.org/wiki/comp/gb/array/remove >
The second version. See: http://gambasdoc.org/hist/comp/gb/array/remove?v3 "p.wheeler" changed my sentence, but I don't know if his new sentence means what I wanted. -- Benoît Minisini ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
