Click or drag to resize

ArrayProtect<T> Function <ARRAY OF<T>>

Protect an Array from change in all functions except the one in which it was declared.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.0
Syntax
 FUNCTION ArrayProtect<T>(
	a AS ARRAY OF<T>
)
WHERE T : NEW()
 AS LOGIC

Parameters

a
Type: ARRAY OF<T>
The array to protect.

Type Parameters

T

Return Value

Type: Boolean
TRUE if the array was successfully protected; otherwise, FALSE.
See Also