reverse

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.24
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.24

Description

Description:
Reverses given array by reference (modifies the original array, just like resize).

Syntax

Syntax:
reverse array
Parameters:
array: Array
Return Value:
Nothing

Examples

Example 1:
_arr = [1,2,3]; reverse _arr; hint str _arr; //[3,2,1]
Example 2:
_wordArr = toArray "gateman"; reverse _wordArr; hint toString _wordArr; //nametag

Additional Information

Multiplayer:
-
See also:
setresizeselectinfindtoArraytoStringforEachcountpushBackpushBackUniqueapplyappendsortparamparamsarrayIntersectsplitStringjoinString

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section