Tivoli Service Desk 6.0 Developer's Toolkit Script Language Reference
Return to Main Page
Operator |
Description |
Example |
< | Less than | 34.7 < 5.01 |
<= | Less than or equal to | 34.7 <= 5.01 |
= | Equal to | 34.7 = 5.01 |
<> | Not Equal to | 34.7 <> 5.01 |
>= | Greater than or equal to | 34.7 >= 5.01 |
> | Greater than | 34.7 > 5.01 |
Operator | Description |
Example |
<< | Less than | 'little' << 'small' |
<<== | Less than or equal to | 'little' <<== 'small' |
== | Equal to | 'little' == 'small' |
<<>> | Not Equal to | 'little' <<>> 'small' |
>>== | Greater than or equal to | 'little' >>== 'small' |
>> | Greater than | 'little' >> 'small' |
Operator |
Description |
Example |
+ | Addition | 34.7 + 5.01 |
- | Subtraction | 34.7 - 5.01 |
* | Multiplication | 34.7 * 5.01 |
/ | Division | 34.7 / 5.01 |
- | Unary minus | -34.7 |
MOD | Modulus | 34.7 MOD 5 |
DIV | Integer Division (remainder is truncated) | 34.7 DIV 5.01 |
ABS | Absolute Value | ABS -34.7 |
Operator |
Description |
Example |
AND | Logical And | TRUE AND FALSE |
OR | Logical Or | TRUE OR FALSE |
NOT | Logical Not | NOT TRUE |
Operator |
Description |
Example |
:= | Assigns a value to a variable | v := 34 |
KNOWN | Test for known variable | KNOWN v |
UNKNOWN | Test for unknown variable | UNKNOWN v |
[ ] | Array/List member access | v[34] |
. | Record member access | v.field |
Operator |
Description |
Example |
& | String concatenation | 'little' & 'small' |
: | Type Coersion | '08/26/73' : DATE |
: | String Length Format | 'little' : 34 |
Tivoli Service Desk 6.0 Developer's Toolkit Script Language Reference