<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.hoggitworld.com/index.php?action=history&amp;feed=atom&amp;title=MIST_writeData</id>
		<title>MIST writeData - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.hoggitworld.com/index.php?action=history&amp;feed=atom&amp;title=MIST_writeData"/>
		<link rel="alternate" type="text/html" href="https://wiki.hoggitworld.com/index.php?title=MIST_writeData&amp;action=history"/>
		<updated>2026-04-24T15:32:27Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.hoggitworld.com/index.php?title=MIST_writeData&amp;diff=772&amp;oldid=prev</id>
		<title>Grimes: Created page with &quot;{{Mission Scripting  |fName= mist.debug.writeData|  |vNum = Mist 1.0  |desc=Writes to the file Saved Games/DCS/Logs/ fileName the results of function fcn called with the varia...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoggitworld.com/index.php?title=MIST_writeData&amp;diff=772&amp;oldid=prev"/>
				<updated>2018-04-12T06:29:43Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Mission Scripting  |fName= mist.debug.writeData|  |vNum = Mist 1.0  |desc=Writes to the file Saved Games/DCS/Logs/ fileName the results of function fcn called with the varia...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Mission Scripting&lt;br /&gt;
&lt;br /&gt;
|fName= mist.debug.writeData|&lt;br /&gt;
&lt;br /&gt;
|vNum = Mist 1.0&lt;br /&gt;
&lt;br /&gt;
|desc=Writes to the file Saved Games/DCS/Logs/ fileName the results of function fcn called with the variables unpacked from the table fcnVars.  |&lt;br /&gt;
&lt;br /&gt;
|rtnType= nothing&lt;br /&gt;
&lt;br /&gt;
|reqType1= function&lt;br /&gt;
&lt;br /&gt;
|reqName1= fcn&lt;br /&gt;
&lt;br /&gt;
|reqType2= table&lt;br /&gt;
&lt;br /&gt;
|reqName2= fcnVars&lt;br /&gt;
&lt;br /&gt;
|reqType3= string&lt;br /&gt;
&lt;br /&gt;
|reqName3= fileName&lt;br /&gt;
&lt;br /&gt;
|reqType4= &lt;br /&gt;
&lt;br /&gt;
|optType1= &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|varExamples= nothing&lt;br /&gt;
&lt;br /&gt;
|rtnExamples= nothing&lt;br /&gt;
&lt;br /&gt;
|example= &amp;lt;code&amp;gt;&lt;br /&gt;
  do&lt;br /&gt;
  mist.debug.writeData(mist.utils.serialize,{'DBs', groupData}, 'newUnits.txt')	&lt;br /&gt;
  end&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|notes= For functions mist.debug.dump_G, mist.debug.writeData, and mist.debug.dumpDBs, you must (temporarily!) unprotect the Lua environment and enable the io and lfs libraries.  You do this by commenting out the sanitizeModule calls in &amp;lt;DCS main directory&amp;gt;/Scripts/MissionScripting.lua.  Just be sure to re-protect yourself later when you run missions from untrusted sources.&lt;br /&gt;
&lt;br /&gt;
|funcs= {{listOfMistDebug}}&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
[[Category:MIST|writeData]]&lt;/div&gt;</summary>
		<author><name>Grimes</name></author>	</entry>

	</feed>