The logical operators windows partial support for logical operators which are used to combine tests
you then their comparison operator is describing the Presidium lesson and they are described in the
Folarin table.
We have an operator minyon is true if both comparisons are true and on the down or operator Newnan is
true.
If one of or both comparison's is true not operator meaning negation and exclamation mark mean a negation
synonym for NOT operator.
Now you can see some simple very basic examples with looser operators to test whether three is greater
than four times the amount three greater then operator four.
Not surprisingly it returns false to test whether Fyffe is greater than or equal to three times the
amount five greater than greater equals three.
It returns true using that and logical operator.
You can test whether both comparisons are true with the following command three greater than four and
five greater than three.
This returns false since the first test returns false because it is then impossible for both comparisons
to be true.
And you know that overall test is false.
However if you use or logical operator three greater than four or five greater or equal three.
The first test returns false and the right test returns true since only one part of the test needs to
be true for the overall test to succeed.
When you use the OR operator the overall test returns true to view the help file about the logical operator.
Type the following command to the prompt felt about underscore logical underscore operator and some
Vorse about the unit replicators windows powar shell supports the Unirea paraders which you can see
on the screen.
Plus the operator meaning signifies explicitly that a number is a positive number minus signifies that
a number is a negative number plus plus increments.
Well you or wearable and minus minus decrements Well your or variable the decremental and incremental
operators work similarly to the equivalent operators in many other languages.
So to assign a 5 to variable A then incremented type the command variable A equals five variable A plus
plus the value of variable is now 6.
Another example to Sandtown to a variable b and then decremented type these commands.
Variable b equals term variable B minus minus the value or a variable B is now 9.
In some circles you need to be careful whether the incremental decrement operator has come before or
after a variable name.
Saturable a term used in the following command variable a.
Equal Stalham type the following command.
Variable b equals variable A plus plus that assigns the value over variable aid to a variable B.
And after that assignment has taken place.
It is an incremental variable Ed and now the value of variable B is 10 and the value of variable A is
11.
However if you assign the value town to a variable A then type the following command.
See variable C equals plus plus variable a variable A is incremented before the assignment so variable
8 is 11 when Simon takes place.
Therefore the value of both verbal A and variable c is 11.