Back2BASIC: A LuaZM Library

GitHub Page

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

  • (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

Help me come up with ideas!

4. Usage

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.

  1. No trackbacks yet.

Write comment

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: