# __MVCLEAR()

This function releases all PRIVATE and PUBLIC variables

Syntax

  __MVCLEAR()

Arguments

  None

Returns

  Nothing

Description

  This function releases all PRIVATE and PUBLIC variables. It is used to implement CLEAR MEMORY statement. The memory occupied by all visible variables are released - any attempt to access the variable will result in a runtime error. You have to reuse PRIVATE or PUBLIC statement to create again the variable that was cleared by this function.

Status

  Ready

Compliance

  This function is a Harbour extension

Files

  Library is vm

See Also

- __MVPUBLIC()