GEQ

GEQ is a 'Greater Than or Equal To' comparison operator for the IF command.

Example

C:\> If 25 GEQ 50 ECHO smaller

C:\> If "5" GEQ "444" ECHO smaller
smaller


GEQ will perform a numeric comparison where possible, if you need a string comparison use the == comparison operator.

In addition to integer numbers, hex and octal numbers can also be compared within certain limits.

“Most great people have attained their greatest success just one step beyond their greatest failure” ~ Napoleon Hill

Related commands

IF command - EQU, NEQ, LSS, LEQ, GTR


 
© BACK 2 Rank aka Tracer
"Lameness is not a reason for suicide but posing with eliteness is a reason for murders"