the weird thing is, is it is closed... can someone help me out by fixing it? Don't worry, I didn't make you guys have to hunt for the section I need help in, the full program is not even close to being finished and already 150 lines.
Spoiler
Posted 10 March 2013 - 09:35 PM
Posted 10 March 2013 - 09:39 PM
local handle = fs.open("Account","r")
local user = handle.readLine()
or is it meant to be thislocal user = {}
user["file"] = fs.open("Account","r")
user["user"] = user.file.readLine()
Posted 10 March 2013 - 09:49 PM
local user =
{
file = fs.open("Account","r"),
user = file:readLine()
}
Note the comma.
Posted 10 March 2013 - 09:50 PM
TheOriginalBIT, on 10 March 2013 - 09:39 PM, said:
local handle = fs.open("Account","r")
local user = handle.readLine()
or is it meant to be thislocal user = {}
user["file"] = fs.open("Account","r")
user["user"] = user.file.readLine()
Posted 10 March 2013 - 09:50 PM
immibis, on 10 March 2013 - 09:49 PM, said:
local user =
{
file = fs.open("Account","r"),
user = file:readLine()
}
Note the comma.Posted 10 March 2013 - 09:57 PM
immibis, on 10 March 2013 - 09:52 PM, said:
Posted 10 March 2013 - 10:01 PM
0 members, 3 guests, 0 anonymous users