DM_setMaxLen

Set the maximum rule length from a DM_RuleSettings value. The rule length is the total number of items in the rule, counting both rule body and rule head.

Syntax

Method syntax

Read syntax diagramSkip visual syntax diagram ruleSet..DM_setMaxLen ( maxLen )

Function syntax

Read syntax diagramSkip visual syntax diagram DM_setMaxLen ( ruleSet , maxLen )

Parameters

ruleSet
A value of type DM_RuleSettings
maxLen
A value of type INTEGER.

Return Value

The return Value is of type DM_RuleSettings

  • If maxLen is NULL, ruleSetis returned. ruleSet has not been changed.
  • If maxLen is not of type INTEGER or is invalid, an error occurs.
  • If none of the conditions above apply, the value ruleSet is returned. The property is set to maxLen.