Click or drag to resize

ArraySwap Function <ARRAY, UInt32, USUAL>

Replace an Array element with a new value and return the old value.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.0
Syntax
 FUNCTION ArraySwap(
	a AS ARRAY,
	dwEl AS DWORD,
	u AS USUAL
) AS USUAL

Parameters

a
Type: ARRAY
The array whose element will be replaced with a new value.
dwEl
Type: UInt32
The number of the element to be replaced.
u
Type: USUAL
The new value.

Return Value

Type: USUAL
The original value that was replaced by u.
See Also