Click or drag to resize

MAssign Function

Perform an assignment to a variable whose name is stored in a specified string.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.0
Syntax
 FUNCTION MAssign(
	cExp AS STRING,
	xValue AS USUAL
) AS USUAL

Parameters

cExp
Type: String
xValue
Type: USUAL

Return Value

Type: USUAL
Remarks
Tip Tip
Dynamic memory variables (PUBLIC, PRIVATE, PARAMETERS) are supported in the X# language and runtime for compatibility only.
In most cases the type can and should be replaced with lexically scoped variables, such as LOCALs and GLOBALs.
See Also