Click or drag to resize

MemVar.TryGet Method

X#
Try to retrieve the value of a local, private or public (in that order).

Namespace:  XSharp
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax
 STATIC METHOD TryGet(
	cName AS STRING,
	uValue OUT USUAL
) AS LOGIC
Request Example View Source

Parameters

cName
Type: String
The name of the memory variable
uValue
Type: Usual
Value of the variable, or NIL whe the variable does not exist.

Return Value

Type: Logic
TRUE when the variable was found. Otherwise FALSE
See Also