About Operators in Rule Assembly Language
In expressions, operators define operations or
relationships between operands. Operator names are case sensitive.
For example, Req(A, B)
is not the same as req(A, B)
and will result in a syntax error.
Most operator names are entirely lowercase. However, a few contain capital letters and are noted in later topics.
Some operators expect logical operands. Others expect numeric operands. When an operand is of a type different than the operator expects, the Siebel Product Configurator engine forces the operand to the correct type.
When integers are used where floating point is expected, integers are converted to their double-precision floating point equivalent.
When floating point numbers are used where integers are expected, floating point numbers are rounded to their nearest integer value.
Numbers greater than zero are interpreted by logical operators as true.
Numbers less than or equal to zero are interpreted by logical operators as false.
When used as numeric operands, true is 1 and false is 0.
The different types of Rule Assembly Language operators are described in the following topics:
Data Operators in Rule Assembly Language. Data operators support expressions involving data that originates elsewhere in the Siebel Business Application.
Boolean Operators in Rule Assembly Language. Boolean operators take logical operands and return logical results. For example: and(A, B).
Comparison and Pattern Matching Operators in Rule Assembly Language. and pattern matching operators take numeric operands and return logical results. For example: >(A, B).
Arithmetic Operators in Rule Assembly Language. Arithmetic operators take numeric operands and return numeric results. They provide math operations such as addition and subtraction.
Attribute Operators in Rule Assembly Language. Attribute operators do comparisons and particular math operations on attribute values.
Conditional Operators in Rule Assembly Language. Conditional operators provide conditional logical and numerical relationships, such as if-then-else.
Special Operators in Rule Assembly Language. Special operators interpret their operators in a special way. Some provide access to the configuration session: for example, to signal messages or retrieve property values. They also provide binding and iteration services.
Customizable Product Access Operators in Rule Assembly Language. Customizable product access operators allow you to obtain information about other areas of the customizable product.