# __MVPUBLIC()

This function creates a PUBLIC variable

Syntax

  __MVPUBLIC( <variable_name> )

Arguments

  <variable_name> = either a string that contains the variable's name or an one-dimensional array of strings with variable names No skeleton are allowed here.

Returns

  Nothing

Description

  This function can be called either by the harbour compiler or by user. The compiler always passes the item of IT_SYMBOL type that stores the name of variable. If a variable with the same name exists already then the new variable is not created - the previous value remains unchanged. If it is first variable with this name then the variable is initialized with .T. value.

Examples

          None Avaliable

Status

  Ready

Compliance

  This function is a Harbour extension

Files

  Library is vm