Difference between revisions of "Manuals/calci/CLEAR"

From ZCubes Wiki
Jump to navigation Jump to search
 
Line 11: Line 11:
 
==Examples==
 
==Examples==
 
# CLEAR()
 
# CLEAR()
 +
 +
==Related Videos==
 +
 +
{{#ev:youtube|v=c-hgDhNi7KA|280|center|Clear}}
  
 
==See Also==
 
==See Also==

Latest revision as of 14:56, 21 March 2019

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()

Related Videos

Clear

See Also


References