Maze generation: Difference between revisions

→‎{{header|REXX}}: included a CHANGESTR subroutine (function) as a link. -- ~~~~
(→‎{{header|REXX}}: included a CHANGESTR subroutine (function) as a link. -- ~~~~)
Line 2,848:
buildRow: parse arg z; height=height+1; width=length(z)
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>
<pre style="overflow:scroll">