Adds a rule that specifies the parameters for a binary expression. The rule requires the binary operator ( from the BinaryOperator enum. See TYPE_SERVICE_ENUMERATION_UTIL.SSL for more information. ), a <TypeInformation> pointer for the left operand, a <TypeInformation> pointer for the right operand, a <TypeInformation> pointer for the result, and an <Int32Array> pointer containing the dimension information for the operands and the result.
int32 AddRule( int32 p_eOperator, TypeInformation p_oLeft, TypeInformation p_oRight, TypeInformation p_oResult, Int32Array p_aiDimensions )
Parameter Type | Parameter Name | Documentation |
---|---|---|
int32 | p_eOperator | An <int32> value representing an operator from the BinaryOperator enumeration. Please see TYPE_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information. |
TypeInformation | p_oLeft | A pointer to a <TypeInformation> object representing the type of the left operand. |
TypeInformation | p_oRight | A pointer to a <TypeInformation> object representing the type of the right operand. |
TypeInformation | p_oResult | A pointer to a <TypeInformation> object representing the type of the expression result. |
<Int32Array> | p_aiDimensions | A pointer to an <Int32Array> containing the row and column dimensions for the left operand, right operand, and expression result. |
None published. Please look for an example in the Scenome Scripting Language code base.