Template
Function
Name
__mvGet()
Category
API
Subcategory
Variable management
Oneliner
This function returns value of memory variable
Syntax
__mvGet( <cVarName> ) --> <xVar>
Arguments
<cVarName> – string that specifies the name of variable
Returns
<xVar> The value of variable
Description
This function returns the value of PRIVATE or PUBLIC variable if this variable exists otherwise it generates a runtime error. The variable is specified by its name passed as the function parameter.
Examples
FUNCTION MemVarBlock( cMemvar ) RETURN {| x | ; iif( PCount() == 0, ; __mvGet( cMemvar ), ; __mvPut( cMemvar, x ) ) }
Compliance
Harbour
Seealso
__mvPut()
Files
Library is core
Pingback: Harbour Internal Functions | Viva Clipper !
Pingback: Variable Management Functions | Viva Clipper !