MAC-PAC Homecontact ussupport login 
Documentation > MAC-PAC Reference Library > Distribution > Expert Configurator > Key Concepts and Procedures > Rule Syntax > Syntax Expression

Syntax Expression

 

Syntax expressions are interpreted by the Expert Configurator.  They are composed of one or more elementary syntax expressions.  Each elementary syntax expression is composed of:

·      Negation character (OPTIONAL)

·      Opening parenthesis 

·      First Variable

·      Operand

·      Second Variable

·      Closing parenthesis

Expression format is (O-LUXURY,EQ,"Y")

All elementary syntax expressions are required to be enclosed within parentheses to facilitate binary interpretation.  An optional negation character (N), prior to the opening parenthesis permits the negation of an elementary syntax expression.  For example, the "not equal to" operation has no corresponding operand defined on the operand category of the Reference File.  However, to achieve a "not equal to" condition, a negation character may be placed outside the parenthesis of the syntax expression, and the operand "equal to" can be used.  For example, to write A is not equal to B, the rule is written N(A,EQ,B).

A detailed explanation of rule syntax particular to each action code (type of rule) is discussed in individual key concepts later in this overview.  Also, a complete explanation of both variables and operands is discussed in individual key concepts later in this section. 

A rule may be composed of various elementary syntax expressions.  For example ((V1,operand,V2),operand,(V3,operand,V4)) is a valid expression.