<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://compost.gibbscam.com/index.php?action=history&amp;feed=atom&amp;title=CompileErrors%2FA0018</id>
	<title>CompileErrors/A0018 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://compost.gibbscam.com/index.php?action=history&amp;feed=atom&amp;title=CompileErrors%2FA0018"/>
	<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=CompileErrors/A0018&amp;action=history"/>
	<updated>2026-12-06T00:47:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=CompileErrors/A0018&amp;diff=5725&amp;oldid=prev</id>
		<title>Danielr: Created page with &quot;{{CompileError |errortext = A0018 - Unexpected subroutine declaration at argument depth &lt;depth&gt;: &lt;subroutine&gt; |description = A0018 is issued when a subroutine declaration is e...&quot;</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=CompileErrors/A0018&amp;diff=5725&amp;oldid=prev"/>
		<updated>2015-01-14T02:15:33Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{CompileError |errortext = A0018 - Unexpected subroutine declaration at argument depth &amp;lt;depth&amp;gt;: &amp;lt;subroutine&amp;gt; |description = A0018 is issued when a subroutine declaration is e...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{CompileError&lt;br /&gt;
|errortext = A0018 - Unexpected subroutine declaration at argument depth &amp;lt;depth&amp;gt;: &amp;lt;subroutine&amp;gt;&lt;br /&gt;
|description = A0018 is issued when a subroutine declaration is encountered within an argument stack.  Normally this means that a prior command did not get enough arguments.&lt;br /&gt;
|exampletext = [[Num#]] takes a single parameter, but a subroutine definition is found instead.&lt;br /&gt;
|examplecode = Num#&lt;br /&gt;
&lt;br /&gt;
SomeSubroutine: { A0018 - Unexpected subroutine declaration at argument depth 2: SOMESUBROUTINE }&lt;br /&gt;
&lt;br /&gt;
RETURN&lt;br /&gt;
|resolutiontext = Ensure that all argument stacks are complete before the sub declaration.&lt;br /&gt;
|resolutioncode = Num#(&amp;#039;100&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
SomeSubroutine: { No error }&lt;br /&gt;
&lt;br /&gt;
RETURN&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Danielr</name></author>
	</entry>
</feed>