home *** CD-ROM | disk | FTP | other *** search
/ Netware Super Library / Netware Super Library.iso / timevent / taskmstr / test_01.tsk < prev    next >
Encoding:
Text File  |  1995-05-07  |  3.2 KB  |  116 lines

  1. ///////////////////////////////////////////////////////////////////////
  2. // Examples of how to utilize the following supported <TEST>
  3. // parameters:
  4. //
  5. //     "[string]"=="[string]"
  6. //     "[string]">"[string]"
  7. //     "[string]"<"[string]"
  8. //     "[string]">="[string]"
  9. //     "[string]"<="[string]"
  10. ///////////////////////////////////////////////////////////////////////
  11.  
  12.  
  13. ///////////////////////////////////////////////////////////////////////
  14. // Are two numbers equal to each other                  (Equal to (==))
  15.  
  16.    IF 1==1
  17.      ECHO 1 is equal to 1!
  18.    ELSE
  19.      ECHO 1 is NOT equal to 1!
  20.    ENDIF
  21.  
  22.  
  23. ///////////////////////////////////////////////////////////////////////
  24. // Are two strings equal to each other                  (Equal to (==))
  25.  
  26.   IF "SUPERVISOR"=="SUPERVISOR"
  27.     ECHO "SUPERVISOR" is equal to "SUPERVISOR"!
  28.   ELSE
  29.     ECHO "SUPERVISOR" is NOT equal to "SUPERVISOR"!
  30.   ENDIF
  31.  
  32.  
  33. ///////////////////////////////////////////////////////////////////////
  34. // Is a number greater than another number           (Greater than (>))
  35.  
  36.    IF 2>1
  37.      ECHO 2 is greater than 1!
  38.    ELSE
  39.      ECHO 2 is NOT greater than 1!
  40.    ENDIF
  41.  
  42.  
  43. ///////////////////////////////////////////////////////////////////////
  44. // Is a string greater than another string           (Greater than (>))
  45.  
  46.   IF "SUPERVISOR">"SUPER"
  47.     ECHO "SUPERVISOR" is greater than "SUPER"!
  48.   ELSE
  49.     ECHO "SUPERVISOR" is NOT greater than "SUPER"!
  50.   ENDIF
  51.  
  52.  
  53. ///////////////////////////////////////////////////////////////////////
  54. // Is a number less than another number                 (Less than (<))
  55.  
  56.    IF 1<2
  57.      ECHO 1 is less than 2!
  58.    ELSE
  59.      ECHO 1 is NOT less than 2!
  60.    ENDIF
  61.  
  62.  
  63. ///////////////////////////////////////////////////////////////////////
  64. // Is a string less than another string                 (Less than (<))
  65.  
  66.   IF "SUPER"<"SUPERVISOR"
  67.     ECHO "SUPER" is less than "SUPERVISOR"!
  68.   ELSE
  69.     ECHO "SUPER" is NOT less than "SUPERVISOR"!
  70.   ENDIF
  71.  
  72.  
  73. ///////////////////////////////////////////////////////////////////////
  74. // Is a number greater than or          (Greater than or equal to (>=))
  75. // equal to another number
  76.  
  77.    IF 2>=2
  78.      ECHO 2 is greater than or equal to 2!
  79.    ELSE
  80.      ECHO 2 is NOT greater than or equal to 2!
  81.    ENDIF
  82.  
  83.  
  84. ///////////////////////////////////////////////////////////////////////
  85. // Is a string greater than or          (Greater than or equal to (>=))
  86. // equal to another string
  87.  
  88.   IF "SUPERVISOR">="SUPER"
  89.     ECHO "SUPERVISOR" is greater than or equal to "SUPER"!
  90.   ELSE
  91.     ECHO "SUPERVISOR" is NOT greater than "SUPER"!
  92.   ENDIF
  93.  
  94.  
  95. ///////////////////////////////////////////////////////////////////////
  96. // Is a number less than or                (Less than or equal to (<=))
  97. // equal to another number
  98.  
  99.    IF 2<=2
  100.      ECHO 2 is less than or equal to 2!
  101.    ELSE
  102.      ECHO 2 is NOT less than or equal to 2!
  103.    ENDIF
  104.  
  105.  
  106. ///////////////////////////////////////////////////////////////////////
  107. // Is a string less than or                (Less than or equal to (<=))
  108. // equal to another string
  109.  
  110.   IF "SUPER"<="SUPERVISOR"
  111.     ECHO "SUPER" is less than or equal to "SUPERVISOR"!
  112.   ELSE
  113.     ECHO "SUPER" is NOT less than "SUPERVISOR"!
  114.   ENDIF
  115.  
  116.