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

Initializes a new goal chunk. Also, if the optional label is specified (and is not null), then this method also generates a SemanticLabel object for the specified label (if one does not already exist for it) and adds it to the goal chunk.

Namespace: Clarion
Assembly: CLARIONLibrary (in CLARIONLibrary.dll) Version: 6.1.0.7 (6.1.0.7)

Syntax

C#
public static GoalChunk NewGoalChunk(
	IComparable label,
	Object dvRepDimension,
	bool addSemanticLabel
)

Parameters

label
Type: System..::..IComparable
The (optional) label for the goal chunk being generated
dvRepDimension
Type: System..::..Object
The (optional) dimension ID for the dimension-value representation of 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 goal chunk

See Also