Click or drag to resize

MemVar._GetSafe Method

X#
Get the value of a local, private or public (in that order). Returns NIL if the value does not exist.

Namespace:  XSharp
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax
 STATIC METHOD _GetSafe(
	cName AS STRING
) AS USUAL
Request Example View Source

Parameters

cName
Type: String
The name of the memory variable

Return Value

Type: Usual
The value of the memory variable or NIL when it does not exist.
Remarks
When a private and a public exist with the same name then the private has preference
See Also