Posted 10 June 2014 - 07:50 PM
Ok, so here is my table:
And this is probably just a lack of knowledge, but why does this return an error(BIOS:366)?
Full program: http://pastebin.com/1s1H9Y2q
Please explain if you can why "Monitor" itself cannot be a table.
Edit: Also, how would I retrieve table data from a separate file for use in my code, as opposed to having a large table inside my program?
local options={
[1]={--TechMaterials x16-29
"Monitor"={cost=5},
"Adv.Monitor"={cost=6},
"Computer",
"Adv.Computer",
"Turtle",
"Adv.Turtle",
"Modem"
},
[2]={--ProgramDisks x31-44
"Compressor",
"PasswordLock",
"Shop Api"
},
[3]={--QuikKits x46-61
"Logger",
"Quarry",
"Mob Grinder"
}
}
And this is probably just a lack of knowledge, but why does this return an error(BIOS:366)?
Full program: http://pastebin.com/1s1H9Y2q
Please explain if you can why "Monitor" itself cannot be a table.
Edit: Also, how would I retrieve table data from a separate file for use in my code, as opposed to having a large table inside my program?
Edited on 10 June 2014 - 06:26 PM