This is the Linux app named Hanoi in Basic whose latest release can be downloaded as hanoi.bas. It can be run online in the free hosting provider OnWorks for workstations.
Download and run online this app named Hanoi in Basic with OnWorks for free.
Follow these instructions in order to run this app:
- 1. Downloaded this application in your PC.
- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 3. Upload this application in such filemanager.
- 4. Start the OnWorks Linux online or Windows online emulator or MACOS online emulator from this website.
- 5. From the OnWorks Linux OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 6. Download the application, install it and run it.
SCREENSHOTS
Ad
Hanoi in Basic
DESCRIPTION
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.
Programming Language
BASIC
Categories
This is an application that can also be fetched from https://sourceforge.net/projects/hanoiinbasic/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.