|
Ne:<> |
Top Previous Next |
|
One may wish to do conditional processing dependent upon whether two numerical expressions are unequal or not. The form of the syntax that can be employed in such a case is
Terma ne Termb or Terma <> Termb
where ne or <> can be used interchangeably. Examples from formconditional.gms
If(x ne 2, z=2); Eq2$(x<>2).. zz=e=3; Loop(I$(sqrt(x) <> y+2),z=z+1) |