Clear method: Compound class

Syntax

Clear()

Description

Use the Clear method to reset all of the primitives of the Compound object as follows:

  • Boolean primitives: False

  • Decimal and integer primitives: 0

  • String primitives: An empty string

Parameters

None.

Returns

A Boolean value: True if the method executed successfully, False otherwise.

Example

&Document = &Map.GetDocument();
&COM = &Document.DocumentElement;  
 &bRet = &COM.Clear();