[This is preliminary documentation and is subject to change.]

Initializes a new declarative chunk with the specified label. This method also generates a SemanticLabel object for the specified label (if one does not already exist for it) and adds it to the declarative chunk (unless otherwise specified).

Namespace: Clarion
Assembly: ClarionLibrary (in ClarionLibrary.dll) Version: 6.1.1.0 (6.1.1.0)

Syntax

C#
public static DeclarativeChunk NewDeclarativeChunk(
	IComparable label,
	bool addSemanticLabel
)

Parameters

label
Type: System..::..IComparable
The label for the declarative chunk being generated
addSemanticLabel
Type: System..::..Boolean
(optional) Specifies whether the SemanticLabel should be added to the dimension-value pairs collection of the chunk.
Note
The semantic label is still generated regardless of whether it is added to the chunk.

Return Value

A new declarative chunk

See Also