Functions.MemVarGetSym 方法 |
命名空间: XSharp.RT
[NeedsAccessToLocalsAttribute(FALSE)] FUNCTION MemVarGetSym( symVar AS SYMBOL ) AS USUAL
[NeedsAccessToLocalsAttribute(false)] public static __Usual MemVarGetSym( __Symbol symVar )
1cPrivate := "hi" 2cHasName := "cPrivate" 3// 替代 ? &cHasName,使用: 4? MemVarGet(cHasName) // hi