Difference between revisions of "Manuals/calci/CLEAR"

From ZCubes Wiki
Jump to navigation Jump to search
Line 10: Line 10:
  
 
==Examples==
 
==Examples==
 +
# CLEAR()
  
 
==See Also==
 
==See Also==

Revision as of 13:42, 17 April 2018

CLEAR ()



Description

  • This function is used the clear all internal variables,keys and filters in the object and in any associated objects such as reports,forms and codeunits.
  • Also function does not affect or change values for variables in single instance code units.
  • When CLEAR function is used on a code unit, only the reference to the code unit is deleted and not the code unit itself, as with Automation objects.
  • This means that the content of the code unit stays intact.When the array of controls, the whole array is destroyed when the array variable goes out of scope.
  • Also in the array of automation servers, we may CLEAR the whole array at once, or CLEAR each element individually.

Examples

  1. CLEAR()

See Also


References