Posted 03 April 2015 - 04:10 PM
So I want to be able to write to a table, like adding an account with a balance, but I have searched the internet and haven't found much but of things that want to explain what tables are and how they are different in lua. Also I would like to know if it's possible to edit a global var in a different program on the same computer? If so could someone leave an example?
function bankBanner()
term.clear()
term.setCursorPos(1,3)
print("==================================================")
term.setCursorPos(13, 3)
print("Buttars' bank of Nigeria")
term.setCursorPos(1,13)
print("==================================================")
end
bankBanner()
function createAccount()
end
account = {
{name = "Buttars", password = "1590", balance = 9000}
}