Functions that Return type Bool
Functions that Return type Bool
IS_JOBTIMER_OVER () |
Returns Boolean TRUE , if the timer of current job is over , otherwise returns a Boolean FALSE. |
IS_STEPTIMER_OVER () |
Returns Boolean TRUE , if the timer of current step is over , otherwise returns a Boolean FALSE. |
NOT ( bVal ) |
Returns negated (toggled) value of bVal. |
WATCH ( bCondition , nTimeout [msec.]) |
Returns Boolean TRUE, if bCondition is already TRUE or becomes TRUE within nTimeout [msec], otherwise returns a Boolean FALSE. |
WATCH ( FALSE , 1100 ) returns FALSE after 1100 msec. WATCH ( TRUE , 1100 ) returns TRUE immediately. WATCH ( bCond , 1100) Let's assume bCond is initially False at the time the WATCH functions execution is started. WATCH will start watching bCond. As time goes, say , bCond becomes True after 600 msec. Then WATCH will return TRUE immediately as long bCond becomes True, therefore in this case WATCH execution will take 600 msec. |
ISNUM_INRANGE ( nVal , nMin , nMax ) |
Returns Boolean TRUE, if nVal is in [ nMin, nMax ] range, otherwise returns a Boolean FALSE. |
ISNUM_INRANGE ( 3, 1, 5 ) returns TRUE ISNUM_INRANGE ( 1, 1, 5 ) returns TRUE ISNUM_INRANGE ( 0, 1, 5 ) returns FALSE |
ISNUM_OUTRANGE ( nVal , nMin , nMax ) |
Returns Boolean TRUE, if nVal is out of ) nMin, nMax ( range, otherwise returns a Boolean FALSE. |
ISNUM_OUTRANGE ( 0, 1, 5 ) returns TRUE ISNUM_OUTRANGE ( 1, 1, 5 ) returns FALSE ISNUM_OUTRANGE ( 3, 1, 5 ) returns FALSE |
ISNUM_EQUAL ( nVal , nRefVal ) |
Returns Boolean TRUE, if nVal is equal to nRefVal, otherwise returns a Boolean FALSE. |
ISNUM_EQUAL ( 3, 5 ) returns FALSE ISNUM_EQUAL ( 3, 3 ) returns TRUE |
ISNUM_DIFFERENT ( nVal , nRefVal ) |
Returns Boolean TRUE, if nVal is not equal to nRefVal, otherwise returns a Boolean FALSE. |
ISNUM_DIFFERENT ( 3, 5 ) returns TRUE ISNUM_DIFFERENT ( 3, 3 ) returns FALSE |
ISNUM_GE ( nVal , nRefVal ) |
Returns Boolean TRUE, if nVal is greater than or equal to nRefVal, otherwise returns a Boolean FALSE. |
ISNUM_GE ( 6, 5 ) returns TRUE ISNUM_GE ( 6, 9 ) returns FALSE |
ISNUM_GREATER ( nVal , nRefVal ) |
Returns Boolean TRUE, if nVal is greater than nRefVal, otherwise returns a Boolean FALSE. |
ISNUM_GREATER ( 6, 5 ) returns TRUE ISNUM_GREATER ( 6, 9 ) returns FALSE |
ISNUM_LE ( nVal , nRefVal ) |
Returns Boolean TRUE, if nVal is less than or equal to nRefVal, otherwise returns a Boolean FALSE. |
ISNUM_LE ( 6, 5 ) returns FALSE ISNUM_LE ( 6, 9 ) returns TRUE |
ISNUM_LESS ( nVal , nRefVal ) |
Returns Boolean TRUE, if nVal is less than nRefVal, otherwise returns a Boolean FALSE. |
ISNUM_LESS ( 6, 5 ) returns FALSE ISNUM_LESS ( 6, 9 ) returns TRUE |
ISNUM_ODD ( nVal ) |
Returns Boolean TRUE, if nVal is both Odd and Integer, otherwise returns a Boolean FALSE. |
ISNUM_ODD ( 5 ) returns TRUE ISNUM_ODD ( 6 ) returns FALSE ISNUM_ODD ( 5.6 ) returns FALSE |
ISNUM_EVEN ( nVal ) |
Returns Boolean TRUE, if nVal is both Even and Integer, otherwise returns a Boolean FALSE. |
ISNUM_EVEN ( 6 ) returns TRUE ISNUM_EVEN ( 5 ) returns FALSE ISNUM_EVEN ( 5.6 ) returns FALSE |
ISTEXT_EQUAL ( sVal , sRefVal ) |
Returns Boolean TRUE, if sVal is equal to sRefVal, otherwise returns a Boolean FALSE. |
ISTEXT_EQUAL ( HelloWorld , HelloWorld ) returns TRUE ISTEXT_EQUAL ( HelloWorld , Helloworld ) returns FALSE |
ISTEXT_DIFFERENT ( sVal , sRefVal ) |
Returns Boolean TRUE, if sVal is not equal to sRefVal, otherwise returns a Boolean FALSE. |
ISTEXT_DIFFERENT ( HelloWorld , HelloWorld ) returns FALSE ISTEXT_DIFFERENT ( HelloWorld , Helloworld ) returns TRUE |
ISTEXT_CONTAINS ( sVal , sRefVal ) |
Returns Boolean TRUE, if sVal contains sRefVal, otherwise returns a Boolean FALSE. |
ISTEXT_CONTAINS ( HelloWorld , Wor ) returns TRUE ISTEXT_CONTAINS ( HelloWorld , Wor2 ) returns FALSE |
ISTEXT_EMPTY ( sVal ) |
Returns Boolean TRUE, if sVal has no characters in it, otherwise returns a Boolean FALSE. |
ISTEXTLEN_EQUAL ( sVal , nRefVal ) |
Returns Boolean TRUE, if number of characters in sVal is equal to nRefVal, otherwise returns a Boolean FALSE. |
ISTEXTLEN_EQUAL ( HelloWorld , 10 ) returns TRUE ISTEXTLEN_EQUAL ( HelloWorld , 3 ) returns FALSE |
ISTEXTLEN_DIFFERENT ( sVal , nRefVal ) |
Returns Boolean TRUE, if number of characters in sVal is not equal to nRefVal, otherwise returns a Boolean FALSE. |
ISTEXTLEN_DIFFERENT ( HelloWorld , 3 ) returns TRUE ISTEXTLEN_DIFFERENT ( HelloWorld , 10 ) returns FALSE |