Maze generation: Difference between revisions

m
→‎{{header|REXX}}: moved a programming note from the 2nd REXX version to the 1st version. -- ~~~~
m (→‎simpler version of above: changed the comment in the 2nd REXX section header. -- ~~~~)
m (→‎{{header|REXX}}: moved a programming note from the 2nd REXX version to the 1st version. -- ~~~~)
Line 3,812:
end /*k*/
return</lang>
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>
<br>(using Regina)
Line 3,924 ⟶ 3,926:
/*──────────────────────────────────HOOD subroutine─────────────────────*/
hood: parse arg rh,ch; return @(rh+2,ch)+@(rh-2,ch)+@(rh,ch-2)+@(rh,ch+2)</lang>
Some older REXXes don't have a '''changestr''' bif, so one is included here ──► [[CHANGESTR.REX]].
<br><br>
'''output''' when using the input: <tt> 10 10 </tt>
<pre style="overflow:scroll">