We have hosted the application hanoi in basic in order to run this application in our online workstations with Wine or directly.


Quick description about hanoi in basic:

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:
Mathematics

Page navigation:

©2024. Winfy. All Rights Reserved.

By OD Group OU – Registry code: 1609791 -VAT number: EE102345621.