Anonymous user
Maze generation: Difference between revisions
m
→{{header|REXX}}: added more whitespace, removed SCROLL from the html PRE tag..
m (→{{header|J}}) |
m (→{{header|REXX}}: added more whitespace, removed SCROLL from the html PRE tag..) |
||
Line 4,520:
Some older REXXes don't have a '''changestr''' bif, so one is included here ──► [[CHANGESTR.REX]].
<br><br>
'''output''' when using the input of: <tt> 23 19 55 </tt>
<pre>
┌───┬───────────────────┬───────────┬───────────────────────────────────────┐
Line 4,632 ⟶ 4,631:
/*──────────────────────────────────HOOD subroutine─────────────────────*/
hood: parse arg rh,ch; return @(rh+2,ch)+@(rh-2,ch)+@(rh,ch-2)+@(rh,ch+2)</lang>
'''output''' when using the input: <tt> 10 10 </tt>
<pre>
┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
│ │ │ │ │
|