NielsUtrecht

Untitled

Sep 7th, 2013
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. local myTable = {}
  2. local anotherTable = {}
  3.  
  4. anotherTable["name"] = "Fuel"
  5. anotherTable["amount"] = 10000
  6. anotherTable["capacity"] = 640000
  7.  
  8. myTable["Fuel"] = anotherTable
  9. myTable["value"] = 1000.1
  10.  
  11. local s = textutils.serialize(myTable)
  12. print (s)
Advertisement
Add Comment
Please, Sign In to add comment