-
Notifications
You must be signed in to change notification settings - Fork 0
SortArray_Copy
Sancky edited this page Oct 18, 2022
·
2 revisions
Copy an sorted array in another.
SortArray_Copy(dest[], source[])
new SortedArray:array<10>;
SortArray_Insert(array, 1);
SortArray_Insert(array, 5);
SortArray_Insert(array, 10);
SortArray_Insert(array, 15);
new SortedArray:copy<10>;
SortArray_Copy(copy, array);
Doesn't return anything.
- Both sorted arrays needs to have the same size.