Array.removeByVal()
Revision as of 10:34, 16 February 2020 by Joseph (talk | contribs) (→Array.removeByVal(SomeValue,ReturnCopy ))
Array.removeByVal(SomeValue,ReturnCopy )
This member function finds the value in an array, and removes the value, and changes the original array by default, unless ReturnCopy is true.
a=1..5;
a.removeByVal(3)
a
gives
1 2 4 5