<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.soldat.pl/index.php?action=history&amp;feed=atom&amp;title=TScript.DebugMode</id>
		<title>TScript.DebugMode - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.soldat.pl/index.php?action=history&amp;feed=atom&amp;title=TScript.DebugMode"/>
		<link rel="alternate" type="text/html" href="https://wiki.soldat.pl/index.php?title=TScript.DebugMode&amp;action=history"/>
		<updated>2026-05-26T05:13:29Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.soldat.pl/index.php?title=TScript.DebugMode&amp;diff=1009&amp;oldid=prev</id>
		<title>Mighty: new page</title>
		<link rel="alternate" type="text/html" href="https://wiki.soldat.pl/index.php?title=TScript.DebugMode&amp;diff=1009&amp;oldid=prev"/>
				<updated>2013-08-12T15:13:48Z</updated>
		
		<summary type="html">&lt;p&gt;new page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt; '''''property DebugMode: Boolean'''''&lt;br /&gt;
  Access mode: R&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
TRUE if debug mode is ON. &amp;lt;br&amp;gt;This can be changed in [[ScriptCore3_config_file]]&amp;lt;br&amp;gt;&lt;br /&gt;
This feature is, as the name says, very useful when debugging or developing script.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
'''Config.ini''' :&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;ini&amp;quot;&amp;gt;&lt;br /&gt;
[Config]&lt;br /&gt;
Name = Example&lt;br /&gt;
MainFile = example.pas&lt;br /&gt;
Sandboxed = 2&lt;br /&gt;
Debug = 1&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''example.pas''' :&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;pascal&amp;quot;&amp;gt;&lt;br /&gt;
procedure Debug(Msg: string);&lt;br /&gt;
begin&lt;br /&gt;
  if Script.DebugMode then&lt;br /&gt;
    WriteLn('['+Script.Name+'] '+Msg);&lt;br /&gt;
end;&lt;br /&gt;
&lt;br /&gt;
begin&lt;br /&gt;
  Debug('Server has started');&lt;br /&gt;
end.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:TScript]]&lt;/div&gt;</summary>
		<author><name>Mighty</name></author>	</entry>

	</feed>