Page 1 of 1

Array Mixer does not delete last entry

Posted: 09 Dec 2014, 12:23
by Eric_RD
If you have an array of lets say 5 entries (indexes from 0 to 4) and you want to delete only the last entry (remove index 4, length 1),
firing the remove method changes nothing to the output Array. The entry is still there.
However if you want to remove the last two entries (index 3, length 2) the Remove Method works as expected.

This applies to all array types I tested it with (string, int, float, byte) and all lengths.

Re: Array Mixer does not delete last entry

Posted: 09 Dec 2014, 15:40
by Karol
Oh yeah!
That was easy :)
Just replaced '<' with '<='

Fixed for Ventuz 4.6.0

Thanks
Karol

Re: Array Mixer does not delete last entry

Posted: 08 Jan 2015, 10:39
by Eric_RD
Cool, Thank you. :D

Sometimes its the little things.