Senin, 24 Oktober 2011

Types Of Operator

Operators can be defined by the symbol or symbols to do something. This operator is divided into several sections according to function :

Arithmetic Operators

Arithmetic operators are used as symbols to perform arithmetic operations. True to its name this operator has several symbols for arithmetic operations such as are known in mathematics :

SymbolsFunction
+Adding
-Alleviation
*Multiplication
/Division
**^Rank

Logic Operators

Operators of logic functions to determine whether the value of the variable value in accordance with the desired boolean value. The value obtained is correct or incorrect. To obtain this value is used logical operators, which is divided into three parts:

SymbolsFunction
.OR.Or
>AND>And
>NOT>not

Comparisson Operators

Comparison operators are useful for assessing whether a variable has a value as expected, for example, will be assessed whether the value of A is greater than the value of B. For this type of surgery need to use the comparison operators, comparison operators:

SymbolsFunction
>More Than Big
<More Than Small
=Equal To
>=More Than Big Or Equal To
<=More Than Small Or Equal To
<>,#Not Equal
$Division To

String Operators

String operators are used to operating a string of characters. There are two string operators, known as the "+" and "-". String operators "+" is used to combine two variables together with the existing space, while the operator "-" is used to combine variables by eliminating the spaces that exist between

0 komentar:

Posting Komentar

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More