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