Back2BASIC: A LuaZM Library
1. What it is
Back2BASIC is a library that allows you to have all the functions you loved in BASIC. This will help BASIC programmers switch to lua, as well as making it more straightforward to port BASIC programs to lua.
2. Already implemented
- b2b.menu (a prefabricated menu function)
- b2b.printText (like “HELLO” in BASIC, but with LESS-style page breaks)
- b2b.locate (like locate in BASIC)
- b2b.ygraph (Y= graph)
- b2b.inputString (get user input)
3. To be implemented
Make a folder called “lib” in your root directory. Put b2b.lua in this folder. In the program you wish to use the library, put run([[lib\b2b.lua]]) at the top.