<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://cyana.org/w/index.php?action=history&amp;feed=atom&amp;title=Subroutine%2C_command</id>
	<title>Subroutine, command - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://cyana.org/w/index.php?action=history&amp;feed=atom&amp;title=Subroutine%2C_command"/>
	<link rel="alternate" type="text/html" href="https://cyana.org/w/index.php?title=Subroutine,_command&amp;action=history"/>
	<updated>2026-04-30T13:35:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://cyana.org/w/index.php?title=Subroutine,_command&amp;diff=3579&amp;oldid=prev</id>
		<title>Admin: 1 revision</title>
		<link rel="alternate" type="text/html" href="https://cyana.org/w/index.php?title=Subroutine,_command&amp;diff=3579&amp;oldid=prev"/>
		<updated>2009-01-28T18:18:37Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= command =&lt;br /&gt;
      &lt;br /&gt;
Usage: subroutine &amp;#039;&amp;#039;name&amp;#039;&amp;#039;&lt;br /&gt;
         &amp;#039;&amp;#039;sequence of statements&amp;#039;&amp;#039;&lt;br /&gt;
       end&lt;br /&gt;
&lt;br /&gt;
       command &amp;#039;&amp;#039;name&amp;#039;&amp;#039;&lt;br /&gt;
         &amp;#039;&amp;#039;sequence of statements&amp;#039;&amp;#039;&lt;br /&gt;
       end&lt;br /&gt;
&lt;br /&gt;
       command&lt;br /&gt;
&lt;br /&gt;
The statements &amp;quot;subroutine&amp;quot; and &amp;quot;command&amp;quot; define a new user-defined command&lt;br /&gt;
within a macro, i.e. a macro within a macro. User-defined commands defined&lt;br /&gt;
by a &amp;quot;subroutine&amp;quot; statement are local to the current macro (or macros called&lt;br /&gt;
through it), whereas &amp;quot;command&amp;quot; declares a globally visible user-defined&lt;br /&gt;
command. User-defined commands defined by &amp;quot;subroutine&amp;quot; or &amp;quot;command&amp;quot; state-&lt;br /&gt;
ments are called by their name, possibly followed by parameters, in exactly&lt;br /&gt;
the same way as macros. Within a macro, a user-defined command can only be&lt;br /&gt;
called after it was defined.&lt;br /&gt;
The statement &amp;quot;command&amp;quot; without parameters gives a list of all user-defined&lt;br /&gt;
commands, and indicates where they are defined.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>