<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://smartbox.benryves.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Procedures_within_procedures</id>
	<title>Procedures within procedures - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://smartbox.benryves.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Procedures_within_procedures"/>
	<link rel="alternate" type="text/html" href="https://smartbox.benryves.com/mediawiki/index.php?title=Procedures_within_procedures&amp;action=history"/>
	<updated>2026-09-17T00:36:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://smartbox.benryves.com/mediawiki/index.php?title=Procedures_within_procedures&amp;diff=112&amp;oldid=prev</id>
		<title>Benryves: Created page with &quot;When Smart Move sees a procedure name it performs the sequence of instructions that you have created, Smart Move treats your procedure as one of its commands. Type the example procedure lights as shown in fig. 5 into the editor.  fig. 5  Return to the main screen by pressing &lt; Esc &gt;. When you type lights &lt; Enter &gt; the procedure will first flash output 1 five times and then switch each output on in turn.  ''How it works.'' When Smart...&quot;</title>
		<link rel="alternate" type="text/html" href="https://smartbox.benryves.com/mediawiki/index.php?title=Procedures_within_procedures&amp;diff=112&amp;oldid=prev"/>
		<updated>2023-10-06T23:24:11Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;When Smart Move sees a procedure name it performs the sequence of instructions that you have created, Smart Move treats your procedure as one of its commands. Type the example procedure lights as shown in fig. 5 into the editor.  &lt;a href=&quot;/wiki/File:Tutorial-fig05.png&quot; title=&quot;File:Tutorial-fig05.png&quot;&gt;frame|none|fig. 5&lt;/a&gt;  Return to the main screen by pressing &amp;lt; Esc &amp;gt;. When you type lights &amp;lt; Enter &amp;gt; the procedure will first flash output 1 five times and then switch each output on in turn.  &amp;#039;&amp;#039;How it works.&amp;#039;&amp;#039; When Smart...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;When Smart Move sees a procedure name it performs the sequence of instructions that you have created, Smart Move treats your procedure as one of its commands.&lt;br /&gt;
Type the example procedure lights as shown in fig. 5 into the editor.&lt;br /&gt;
&lt;br /&gt;
[[File:Tutorial-fig05.png|frame|none|fig. 5]]&lt;br /&gt;
&lt;br /&gt;
Return to the main screen by pressing &amp;lt; Esc &amp;gt;.&lt;br /&gt;
When you type lights &amp;lt; Enter &amp;gt; the procedure will first flash output 1 five times and then switch each output on in turn.&lt;br /&gt;
&lt;br /&gt;
''How it works.'' When Smart Move performs the lights procedure it first meets the flash command.&lt;br /&gt;
You have already defined a sequence of instructions known as flash so it performs these.&lt;br /&gt;
At the next line it meets the FlashThemAll command and so performs that sequence of instructions.&lt;br /&gt;
As you can see, you are able to use one procedure within another.&lt;br /&gt;
In this way a problem can be broken down into a number of small procedures which perform specific tasks.&lt;br /&gt;
They can be tested, edited and checked individually and then put together to form a complete program.&lt;br /&gt;
&lt;br /&gt;
Whenever you create a Smart Move program try to break it down into small procedures in this way.&lt;br /&gt;
&lt;br /&gt;
[[Category:Tutorial]]&lt;/div&gt;</summary>
		<author><name>Benryves</name></author>
	</entry>
</feed>