MIST tableShow

From DCS World Wiki - Hoggitworld.com
Revision as of 23:06, 13 April 2018 by Grimes (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


mist.utils.tableShow

Added with: Mist 1.0
Description
Returns a string that shows the contents of table t. THIS IS NOT A SERIALIZATION FUNCTION; unlike all the serialization functions, you CANNOT run the returned string with loadstring or dostring. This function is solely made for exploring the contents of a table.
Syntax
string mist.utils.tableShow(table t )
Valid Input Values:
table
Return value:
string
Return example:
string
Usage Examples:

do

trigger.action.outText(mist.utils.tableShow(myTable), 25)

end

Notes:
THIS IS NOT A SERIALIZATION FUNCTION. It is best used to view the contents of a table in game via text output.
Related Functions
deepCopy, dostring, basicSerialize, serialize, serializeWithCycles, oneLineSerialize, tableShow

Scripting Engine

MIST Root Page