Harbour Reference Guide

 

__MVGET()

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 ) ) }
Status

Ready

Compliance

This function is a Harbour extension

Files

Library is vm

See Also

 




[Source Forge]

Other Docs Categories

Advantage Database RDD
Array
Binary conversion
Classes
Code Block
Console input
Conversion
Conversion Tools
DOS
Data input and output
Database
Database Tools
Date
Dos Tools
Environment
Error recovery
Events
File management
GT
Harbour Tools
Internal
Low Level
Math
Misc
Miscellaneous
Nation
Object manipulation
Operating System Specific
Parameter Checks
String Tools
Strings
TBrowse Method
TBrowse class
Terminal
Time
Utility
Variable Management

 

Last updated on 2001/06/26