# __MVEXIST()

Determine if a given name is a PUBLIC or PRIVATE memory variable

Syntax

  __MVEXIST( <cVarName> ) --> <lVariableExist>

Arguments

  <cVarName> - string that specifies the name of variable to check

Returns

  __MVEXIST() return TRUE (.T.) if a MEMVAR named <cVarName> exist.

Description

  This function determine if a PUBLIC or PRIVATE variable with the name <cVarName> exist or not.

Examples

          LOCAL   TheLocal
          STATIC  TheStatic
          PUBLIC  ThePublic
          PRIVATE ThePrivate
          ? __MVEXIST( "NotExist"   )        // .F.
          ? __MVEXIST( "TheLocal"   )        // .F.
          ? __MVEXIST( "TheStatic"  )        // .F.
          ? __MVEXIST( "ThePublic"  )        // .T.
          ? __MVEXIST( "ThePrivate" )        // .T.

Status

  Ready

Compliance

  This function is a Harbour extension

Files

  Library is vm

See Also

- MEMVAR
- PRIVATE,
- PUBLIC