Skip to content

Vec_Reverse

manuel villagran edited this page Oct 2, 2019 · 1 revision

Vec_Reverse

Vec_Reverse(Vec:vec, start = 0, end = 0)

Reverses the elements of a vector.

Parameters

  • Vec:vec The vector to reverse.
  • start = 0 The index to start reversing from.
  • end = 0 The index to stop reversing at.

Returns

  • VEC_NOP
    • if vec is read-only.
    • if start is equal to end.
  • VEC_OK if success.

Notes

  • if both start and end are both left as 0 the entire vector will be reversed.
Clone this wiki locally