Python Forum
Porting Applesoft BASIC "DECIDE" to Python - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Porting Applesoft BASIC "DECIDE" to Python (/thread-25408.html)



Porting Applesoft BASIC "DECIDE" to Python - RobinHood2020 - Mar-29-2020

In the 90s, I inherited an Apple //e computer from my grandfather. One of the books that came with it was called "32 BASIC Programs for the Apple Computer" written by Tom Rugg and Phil Feldman, and published by Dilithium Press. This book contained a 5 1/4-inch diskette with all the book's programs on it, including one called "DECIDE" which I used to play with a little bit. Here is a link to a text file containing the program listing in Applesoft BASIC.

https://1drv.ms/t/s!Aj9V_5x2ju0XprUWEXLIiP8rDPwttQ?e=IyAGKN

I need some help porting this program to Python. My biggest challenge, I think, will be the sorting routine (lines 1600-1630). Has anyone tried porting this program to Python before, and if so, can anyone help me out with doing so?

Brandon Taylor