1197 |
Keep in mind that with logical operators shown above, |
Keep in mind that with logical operators shown above, |
1198 |
all integer values other than <code>0</code> |
all integer values other than <code>0</code> |
1199 |
are interpreted as boolean <i>true</i> while an integer value of |
are interpreted as boolean <i>true</i> while an integer value of |
1200 |
precisely <code>0</code> is interpreted of being boolean <i>false</i>. |
precisely <code>0</code> is interpreted as being boolean <i>false</i>. |
1201 |
</p> |
</p> |
1202 |
<p> |
<p> |
1203 |
So the logical operators shown above always look at numbers at a whole. |
So the logical operators shown above always look at numbers at a whole. |
1244 |
</code> |
</code> |
1245 |
<p> |
<p> |
1246 |
All these operations yield in a <i>boolean</i> result which could then |
All these operations yield in a <i>boolean</i> result which could then |
1247 |
by used i.e. with <code>if</code> or <code>while</code> loop statements. |
be used i.e. with <code>if</code> or <code>while</code> loop statements. |
1248 |
</p> |
</p> |
1249 |
|
|
1250 |
<h3>String Operators</h3> |
<h3>String Operators</h3> |