home *** CD-ROM | disk | FTP | other *** search
- ///////////////////////////////////////////////////////////////////////
- // Examples of how to utilize the following supported <TEST>
- // parameters:
- //
- // "[string]"=="[string]"
- // "[string]">"[string]"
- // "[string]"<"[string]"
- // "[string]">="[string]"
- // "[string]"<="[string]"
- ///////////////////////////////////////////////////////////////////////
-
-
- ///////////////////////////////////////////////////////////////////////
- // Are two numbers equal to each other (Equal to (==))
-
- IF 1==1
- ECHO 1 is equal to 1!
- ELSE
- ECHO 1 is NOT equal to 1!
- ENDIF
-
-
- ///////////////////////////////////////////////////////////////////////
- // Are two strings equal to each other (Equal to (==))
-
- IF "SUPERVISOR"=="SUPERVISOR"
- ECHO "SUPERVISOR" is equal to "SUPERVISOR"!
- ELSE
- ECHO "SUPERVISOR" is NOT equal to "SUPERVISOR"!
- ENDIF
-
-
- ///////////////////////////////////////////////////////////////////////
- // Is a number greater than another number (Greater than (>))
-
- IF 2>1
- ECHO 2 is greater than 1!
- ELSE
- ECHO 2 is NOT greater than 1!
- ENDIF
-
-
- ///////////////////////////////////////////////////////////////////////
- // Is a string greater than another string (Greater than (>))
-
- IF "SUPERVISOR">"SUPER"
- ECHO "SUPERVISOR" is greater than "SUPER"!
- ELSE
- ECHO "SUPERVISOR" is NOT greater than "SUPER"!
- ENDIF
-
-
- ///////////////////////////////////////////////////////////////////////
- // Is a number less than another number (Less than (<))
-
- IF 1<2
- ECHO 1 is less than 2!
- ELSE
- ECHO 1 is NOT less than 2!
- ENDIF
-
-
- ///////////////////////////////////////////////////////////////////////
- // Is a string less than another string (Less than (<))
-
- IF "SUPER"<"SUPERVISOR"
- ECHO "SUPER" is less than "SUPERVISOR"!
- ELSE
- ECHO "SUPER" is NOT less than "SUPERVISOR"!
- ENDIF
-
-
- ///////////////////////////////////////////////////////////////////////
- // Is a number greater than or (Greater than or equal to (>=))
- // equal to another number
-
- IF 2>=2
- ECHO 2 is greater than or equal to 2!
- ELSE
- ECHO 2 is NOT greater than or equal to 2!
- ENDIF
-
-
- ///////////////////////////////////////////////////////////////////////
- // Is a string greater than or (Greater than or equal to (>=))
- // equal to another string
-
- IF "SUPERVISOR">="SUPER"
- ECHO "SUPERVISOR" is greater than or equal to "SUPER"!
- ELSE
- ECHO "SUPERVISOR" is NOT greater than "SUPER"!
- ENDIF
-
-
- ///////////////////////////////////////////////////////////////////////
- // Is a number less than or (Less than or equal to (<=))
- // equal to another number
-
- IF 2<=2
- ECHO 2 is less than or equal to 2!
- ELSE
- ECHO 2 is NOT less than or equal to 2!
- ENDIF
-
-
- ///////////////////////////////////////////////////////////////////////
- // Is a string less than or (Less than or equal to (<=))
- // equal to another string
-
- IF "SUPER"<="SUPERVISOR"
- ECHO "SUPER" is less than or equal to "SUPERVISOR"!
- ELSE
- ECHO "SUPER" is NOT less than "SUPERVISOR"!
- ENDIF
-