Operators
Operator is a symbol to do some operation, such as : sum, product, division, compare etc. Operator involves two or more operands. Operator and operand form an expression. Example :
12 + 15 = 27
see the table below :
| Operators | Operands |
|---|---|
| + | 12 |
| = | 15 |
| 27 |
arithmetic operators
| Operator |
|---|
| * |
| / |
| div |
| mod |
| + |
| - |
logic operators
| Operator |
|---|
| not |
| and |
| or |
| xor |
| shl |
| shr |
boolean operators
| Operator |
|---|
| not |
| and |
| or |
| xor |
relational operators
| Operator |
|---|
| > |
| < |
| >= |
| <= |
| <> |
| = |
string operator
all relational operators also can be use for string :
| Operator |
|---|
| > |
| < |
| >= |
| <= |
| <> |
| = |
In the example, I will show you how to use these operators.

i a'm finding program in a console application that linked unit .pass from project .dpr
ReplyDelete