Jump to content

BASIC Line Number tool in Python 1.0.0

   (0 reviews)

About This File

This is a simple Python utility to add line numbers to BASIC programs.

GOTO and GOSUB use labels instead of line numbers, like this:

GOTO @HELLO 
END
@HELLO 
PRINT "HELLO WORLD"

In addition, the special @@ label resolves to "current line", like this:

GET A$:IF A$="" THEN @@ 

This will resolve to something like

100 GET A$:IF A$="" THEN 100

I have included a little Morse Code translator as a proof of concept and simple test program.

This program and the Morse demo are open source, distributed under CC-BY license. 

 


try_it

No
 Share


User Feedback

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
×
×
  • Create New...

Important Information

Please review our Terms of Use