MemVar.Clear Method | |
Clear a variable by name. Tries to clear a private first and when that is not found then a public
Namespace:
XSharp
Assembly:
XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax STATIC METHOD Clear(
cName AS STRING
) AS LOGIC
public static bool Clear(
string cName
)
Request Example
View SourceParameters
- cName
- Type: String
The name of the memory variable.
Return Value
Type:
LogicRemarks Clear does not remove the variable but sets its value to NIL.
In the FoxPro dialect Clear does not clear local variables when these are visible.
See Also