규칙을 명확히 나타내기 위한 구두점 사용

여러 해석을 갖는 규칙을 작성하지 않으려면 쉼표 또는 괄호를 사용합니다.

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

예를 들어, 다음과 같은 명령문은 모호합니다.

if
all 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

Rule Designer는 the salary of the customer is more than 100이 the age of the customer is at most 15와 연관되는지 여부 또는 해당 조건이 규칙의 세 번째 조건인지 여부를 지정할 수 없으므로 모호성 오류(초록색 일관성 오류 아이콘에 표시됨)를 표시합니다.

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

if
all 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

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

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