Difference between revisions of "MIST tableShow"

From DCS World Wiki - Hoggitworld.com
 
(No difference)

Latest revision as of 23:06, 13 April 2018


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