Skip to content

SortArray_Remove

Sancky edited this page Oct 18, 2022 · 1 revision

Description

Remove an value from a sorted array.

Syntax

SortArray_Remove(array[], value)

Example

new SortedArray:array<10>;

SortArray_Insert(array, 1);
SortArray_Insert(array, 5);
SortArray_Insert(array, 10);
SortArray_Insert(array, 15);

SortArray_Remove(array, 10);

Returns

Returns true for success, otherwise false.

Clone this wiki locally