This program is written in BWBasic, the version provided with DOSEMU, the DOS emulator. In this version of BASIC, you use GOSUB to call a procedure, and there are no local variables. So I used arrays to allocate memory for stacks, from where the "local variables" are taken.
From this code you can learn how recursion and functions with dynamic local variables work.

Project Samples

Project Activity

See All Activity >

Categories

Mathematics

Follow Hanoi in Basic

Hanoi in Basic Web Site

Other Useful Business Software
The most user-friendly sales commission software for revenue-focused teams Icon
The most user-friendly sales commission software for revenue-focused teams

Everstage is a trusted ICM for public companies and enterprises worldwide-across industries

Rated as #1 sales compensation management software, Everstage helps businesses streamline commission administration, boost sales performance and improve ROI with actionable insights. Top features: No-code plan designer, detailed commission statements, advanced commission forecasting, quota management, queries & approval workflows, deferred commissions (ASC606), BI-powered reporting, and more.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Hanoi in Basic!

Additional Project Details

Operating Systems

Linux

Programming Language

BASIC

Related Categories

BASIC Mathematics Software

Registered

2012-11-04