Click or drag to resize

XPRBexprEqualTo(XPRBexpr, XPRBterm) Method

Create an XPRBrelation from an XPRBexpr and an XPRBterm. Equal to.

Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntax
public static XPRBrelation EqualTo(
	XPRBexpr l1,
	XPRBterm tl2
)

Parameters

l1  XPRBexpr
The lhs XPRBexpr.
tl2  XPRBterm
The rhs XPRBterm.

Return Value

XPRBrelation
The resultant XPRBrelation.
Remarks
This is usually used when creating relations for those languages that do not allow operator overloading.
Example
C#
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);
See Also