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
--
"There's an old saying: Don't change anything... ever!" -- Mr. Monk
------------------------------------------------------------------------------
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