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> |
1509 |
previous example just to disable messages. There is actually a built-in |
previous example just to disable messages. There is actually a built-in |
1510 |
preprocessor condition dedicated to perform that task much more conveniently for you. |
preprocessor condition dedicated to perform that task much more conveniently for you. |
1511 |
To disable all messages in your script, simply add <code>SET_CONDITION(NKSP_NO_MESSAGE)</code> |
To disable all messages in your script, simply add <code>SET_CONDITION(NKSP_NO_MESSAGE)</code> |
1512 |
i.e. at the very beginng of your script. |
i.e. at the very beginning of your script. |
1513 |
So the previous example can be simplified like this: |
So the previous example can be simplified like this: |
1514 |
</p> |
</p> |
1515 |
<code> |
<code> |