Maze generation: Difference between revisions
Content added Content deleted
(→{{header|REXX}}: included a CHANGESTR subroutine (function) as a link. -- ~~~~) |
|||
Line 2,848: | Line 2,848: | ||
buildRow: parse arg z; height=height+1; width=length(z) |
buildRow: parse arg z; height=height+1; width=length(z) |
||
do c=1 for width; @.height.c=substr(z,c,1); end; return</lang> |
do c=1 for width; @.height.c=substr(z,c,1); end; 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: <tt> 10 10 </tt> |
'''output''' when using the input: <tt> 10 10 </tt> |
||
<pre style="overflow:scroll"> |
<pre style="overflow:scroll"> |