Jump to content


eastar

Member Since 21 May 2015
Offline Last Active Aug 08 2020 03:34 PM
-----

Posts I've Made

In Topic: Question about textutils.serialize() and textutils.unserialize()

28 July 2020 - 09:43 PM

View PostLupus590, on 28 July 2020 - 08:01 PM, said:

print doesn't serialise for you, if you want to print what saves to the file then you need to print the serialised version of the table

you should get nested tables from the serialise and unserialise, the only exception to this is recursive tables and tables with non-serialisable values in them

Right, I meant to write, do print() on my unserialized table.
Anyway it gives back the reference. What happens if I restart my game between saving the serialized table (that has nested tables in it) and the load it back up and unserialize it? Will the nested tables still have their value?

Thank you!