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.01
Syntax
 FUNCTION ArraySwap(
	a AS ARRAY,
	dwEl AS DWORD,
	u AS USUAL
) AS USUAL
View Source

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