MemVar.TryGet Method | |
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.21
Syntax STATIC METHOD TryGet(
cName AS STRING,
uValue OUT USUAL
) AS LOGIC
public static bool TryGet(
string cName,
out Usual uValue
)
Request Example
View SourceParameters
- 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:
LogicTRUE when the variable was found. Otherwise FALSE
See Also