Towers of Hanoi: Difference between revisions

m
works with Applesoft BASIC
m (works with Applesoft BASIC)
Line 143:
move 4,1,2,3</lang>
Here's an example of implementing recursion in an old BASIC that only has global variables:
{{works with|Applesoft BASIC}}
{{works with|Commodore BASIC}}
<lang freebasic>10 DIM N(1024), F(1024), T(1024), V(1024): REM STACK PER PARAMETER
413

edits