Click or drag to resize

XPRBvarLeEq(XPRBvar, XPRBvar) Method

Create an XPRBrelation from two XPRBvars. Less than or equal to.

Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntax
public static XPRBrelation LeEq(
	XPRBvar l1,
	XPRBvar vl2
)

Parameters

l1  XPRBvar
The lhs XPRBvar.
vl2  XPRBvar
The rhs XPRBvar.

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");
XPRBrelation rel;
...
rel = XPRBvar.LeEq(var, var2);
See Also