GE - Greater Than or Equal To #

The Greater Than or Equal To (GE) operator is used to check if Operand 1 is greater than or equal to Operand 2.

Statement
If the employee has a positive value in PC 100, divide it in half.

LineCMDOTOperand 1OPEROTOperand2OTOperand3If Goto Else GoTo
00010 IF PC 100 GE N 0 00100 99999
00100 LET V HALF OF PC 100 DIV PC 100 N 2 99999
99999 EXIT 99999

Here, the UserCalc checked to see if the value in PC100 (in Operand 1) was greater or equal to the value of Operand 2 (0). Therefore, if PC100 has any positive value, it will be divided in half.


Notes #

Click to create a new notes page