구두점을 사용하여 규칙 명료화

쉼표 또는 소괄호를 사용하여 다양한 해석이 가능한 규칙이 빌드되지 않도록 합니다.

규칙의 파트에 구문이 올바른 둘 이상의 해석이 있거나 어휘에 두 개의 동일한 용어 또는 구문이 있는 경우 모호성이 발생합니다.

예를 들어, 다음과 같은 규정은 모호합니다.

ifall of the following conditions are true:
   - the category of 'the customer' is Gold
   - the age of 'the customer' is at most 15
and
   the salary of 'the customer' is more than 100

the salary of 'the customer' is more than 100이 the age of 'the customer' is at most 15와 연관되는지 여부 또는 규칙의 세 번째 조건인지 여부를 말할 수 없기 때문에 Insight Designer는 모호성 오류를 발생합니다(이는 초록색 일관성 오류 아이콘으로 나타남).

모호성을 제거하기 위해 the age of 'the customer' is at most 15 조건문 끝에 쉼표를 추가할 수 있습니다.

ifall of the following conditions are true:
   - the category of 'the customer' is Gold
   - the age of 'the customer' is at most 15,
and
   the salary of 'the customer' is more than 100

모호성을 제거하는 또 다른 방법은 괄호를 사용하여 표현식을 그룹화하는 것입니다.

어휘에 두 개의 동일한 용어 또는 구문이 있는 경우에는 용어 또는 구문 중 하나를 변경하여 모호성을 제거하십시오.