Skip to content

Commit df8a00d

Browse files
committed
More deprecated stuff removed
1 parent cf0fa08 commit df8a00d

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

docs/manual/index.html

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2429,15 +2429,15 @@ <h4 id="variadic-macros">Variadic Macros</h4>
24292429
while !a &lt; sizeof(...)
24302430
db &lt;...[!a]&gt; ;01 02 03
24312431
!a #= !a+1
2432-
endif
2432+
endwhile
24332433
endmacro
24342434

24352435
macro example2(named_parameter, ...)
24362436
!a #= 0
24372437
while !a &lt; sizeof(...)
24382438
db &lt;...[!a]&gt; ;02 03 04 05 06 07
24392439
!a #= !a+1
2440-
endif
2440+
endwhile
24412441
db &lt;named_parameter&gt; ;01
24422442
endmacro
24432443

@@ -2580,7 +2580,7 @@ <h4 id="built-ins">Built-in Functions</h4>
25802580
;...
25812581

25822582
!fpos #= !fpos+1
2583-
endif</code></pre></td>
2583+
endwhile</code></pre></td>
25842584
</tr>
25852585
<tr>
25862586
<td><code class="65c816_asar">getfilestatus(filename)</code></td>
@@ -2791,10 +2791,6 @@ <h4 id="if-else">if/elseif/else/endif</h4>
27912791
<td><code>a &lt;= b</code></td>
27922792
<td>Returns 1 if <code>a</code> is less than or equal to <code>b</code></td>
27932793
</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>
27982794
</table><br/>
27992795
You can use logical operators to chain multiple conditions.<br/><br/>
28002796
<table>
@@ -2863,8 +2859,8 @@ <h4 id="while">while</h4>
28632859
db (!counter&lt;&lt;8)|$0C,(!counter&lt;&lt;8)|$0D,(!counter&lt;&lt;8)|$0E,(!counter&lt;&lt;8)|$0F
28642860

28652861
!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/>
28682864
<a href="#contents">Return to top</a></div>
28692865
<hr />
28702866
<div id="binary-data"><h3>Binary Data</h3>
@@ -3071,7 +3067,7 @@ <h4 id="includefrom">include/includefrom</h4>
30713067

30723068
incsrc &quot;shared.asm&quot;
30733069

3074-
if !is_sa1_rom
3070+
if !is_sa1_rom != 0
30753071
; ...
30763072
endif</code></pre>
30773073
<h4 id="includeonce">includeonce</h4>

0 commit comments

Comments
 (0)