Skip to content

Latest commit

 

History

History
75 lines (62 loc) · 2.35 KB

File metadata and controls

75 lines (62 loc) · 2.35 KB

Function: ArraySwap

Swaps array values of an array at specified positions.

This function is more efficient than multiple assignment statements

Method Signature

ArraySwap(array=[array], position1=[any], position2=[any])

Arguments

Argument Type Required Description Default
array array true
position1 any true The first position to swap
position2 any true The second position to swap

Examples

Related