Towers of Hanoi: Difference between revisions
→{{header|BASIC}}: fix implementation link
(→{{header|BASIC}}: fix implementation link) |
|||
Line 146:
Here's an example of implementing recursion in an old BASIC that only has global variables:
{{works with|
<lang freebasic>10 DIM N(1024), F(1024), T(1024), V(1024): REM STACK PER PARAMETER
20 SP = 0: REM STACK POINTER
|