<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.ice-online.com/index.php?action=history&amp;feed=atom&amp;title=INCLUDE</id>
	<title>INCLUDE - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ice-online.com/index.php?action=history&amp;feed=atom&amp;title=INCLUDE"/>
	<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=INCLUDE&amp;action=history"/>
	<updated>2026-04-09T20:43:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.ice-online.com/index.php?title=INCLUDE&amp;diff=722&amp;oldid=prev</id>
		<title>ConvertBot: includes a block of code from a text file into the current macro</title>
		<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=INCLUDE&amp;diff=722&amp;oldid=prev"/>
		<updated>2020-04-27T22:04:37Z</updated>

		<summary type="html">&lt;p&gt;includes a block of code from a text file into the current macro&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;includes a block of code from a text file into the current macro&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;file&amp;gt; - Root name of the include file (extension is optional) [DEFAULT=.mm]&lt;br /&gt;
&amp;lt;area&amp;gt; - Area of the option tree containing file [DEFAULT=MCR]&lt;br /&gt;
&amp;lt;opt&amp;gt;  - Option tree containing file&lt;br /&gt;
&lt;br /&gt;
This command is intercepted by the macro loader to include blocks of code that&lt;br /&gt;
may be common to multiple macros (such as the definition of mathematical&lt;br /&gt;
constants). It should not be used to split macros into smaller files - as&lt;br /&gt;
this is bad form.&lt;br /&gt;
&lt;br /&gt;
Things to Note&lt;br /&gt;
--------------&lt;br /&gt;
The include &amp;lt;file&amp;gt;;&amp;lt;opt&amp;gt; is available since NextMidas 3.7.1&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
	&lt;br /&gt;
	1. Include a file into the current macro using the option tree in which&lt;br /&gt;
	   the current macro is defined.   &lt;br /&gt;
	   nM&amp;gt; INCLUDE file&lt;br /&gt;
	&lt;br /&gt;
	2. Include a file into the current macro using the MCR area of the defined&lt;br /&gt;
	   option tree.&lt;br /&gt;
	   nM&amp;gt; INCLUDE file;SYS  ! this will look for the macro &lt;br /&gt;
	                         ! into the MCR area of the option tree SYS&lt;br /&gt;
	&lt;br /&gt;
	3. Include a file into the current macro using the specified area and&lt;br /&gt;
	   option tree.&lt;br /&gt;
	   nM&amp;gt; INCLUDE file TEST SYS&lt;br /&gt;
	&lt;br /&gt;
	4. Include a file into the current macro using the option tree in which&lt;br /&gt;
	   the current macro is defined. The file is surrounded by quotes.&lt;br /&gt;
	   nM&amp;gt; INCLUDE &amp;quot;file&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:NXM_Explain]]&lt;/div&gt;</summary>
		<author><name>ConvertBot</name></author>
		
	</entry>
</feed>