EqualTo Method (XPRBexpr, XPRBterm)
Create an XPRBrelation from an XPRBexpr and an XPRBterm. Equal to.
Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 37.1.1.0

Parameters
- l1
-
Type:
BCLXPRBexpr
The lhs XPRBexpr. - tl2
-
Type:
BCLXPRBterm
The rhs XPRBterm.
Return Value
Type: XPRBrelationThe resultant XPRBrelation.

This is usually used when creating relations for those languages that do not allow operator overloading.

XPRBvar var = new XPRBvar("Variable1"); XPRBvar var2 = new XPRBvar("Variable2"); XPRBterm term = new XPRBterm(1.8, var2); XPRBexpr exp = new XPRBexpr(var - 19.6) XPRBrelation rel; ... rel = XPRBexpr.EqualTo(exp, term);
