You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<td>Returns 1 if <code>a</code> is less than or equal to <code>b</code></td>
2793
2793
</tr>
2794
-
<tr>
2795
-
<td><code>!a</code></td>
2796
-
<td>Returns 1 if <code>a</code> is 0, and 0 otherwise. Note: this is deprecated and will be removed in a future version. Please use <code>if not(a)</code> instead.</td>
2797
-
</tr>
2798
2794
</table><br/>
2799
2795
You can use logical operators to chain multiple conditions.<br/><br/>
2800
2796
<table>
@@ -2863,8 +2859,8 @@ <h4 id="while">while</h4>
2863
2859
db (!counter<<8)|$0C,(!counter<<8)|$0D,(!counter<<8)|$0E,(!counter<<8)|$0F
2864
2860
2865
2861
!counter #= !counter+1
2866
-
endif</code></pre>
2867
-
Note that for technical reasons, while loops end on an endif, just like if conditionals, but unlike the latter they do not support elseif or else branches. Be warned as improper use of while loops can lead to infinite loops and thus a dead-lock of the compiler, as Asar won't attempt to detect those.<br/><br/>
2862
+
endwhile</code></pre>
2863
+
Be warned as improper use of while loops can lead to infinite loops and thus a dead-lock of the compiler, as Asar won't attempt to detect those.<br/><br/>
0 commit comments