MAssign Function |
Namespace: XSharp.RT
FUNCTION MAssign( cExp AS STRING, uValue AS USUAL ) AS USUAL
public static Usual MAssign( string cExp, Usual uValue )
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. |
1MEMVAR iValue 2LOCAL cVar AS STRING 3cVar := "iValue" 4MAssign(cVar, 5) // Same a &cVar := 5 5? iValue // Result: 5