<?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=Variables</id>
	<title>Variables - 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=Variables"/>
	<link rel="alternate" type="text/html" href="https://smartbox.benryves.com/mediawiki/index.php?title=Variables&amp;action=history"/>
	<updated>2026-11-15T03:59:55Z</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=Variables&amp;diff=110&amp;oldid=prev</id>
		<title>Benryves: Created page with &quot;The FOR NEXT loop is a way of making a certain action occur a set number of times. Sometimes it is necessary to change something each time the action is performed.  One way of doing this is to use a ''variable''. A variable is a word which can be given a numerical value. Try this example. From the Smart Move main screen type LET cars = 23 &lt; Enter &gt;, then type PRINT cars &lt; Enter &gt;. The current value of cars (i.e. 23) will be printed.  The example shown in fig. 4 uses a va...&quot;</title>
		<link rel="alternate" type="text/html" href="https://smartbox.benryves.com/mediawiki/index.php?title=Variables&amp;diff=110&amp;oldid=prev"/>
		<updated>2023-10-06T23:19:53Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The FOR NEXT loop is a way of making a certain action occur a set number of times. Sometimes it is necessary to change something each time the action is performed.  One way of doing this is to use a &amp;#039;&amp;#039;variable&amp;#039;&amp;#039;. A variable is a word which can be given a numerical value. Try this example. From the Smart Move main screen type LET cars = 23 &amp;lt; Enter &amp;gt;, then type PRINT cars &amp;lt; Enter &amp;gt;. The current value of cars (i.e. 23) will be printed.  The example shown in fig. 4 uses a va...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The FOR NEXT loop is a way of making a certain action occur a set number of times.&lt;br /&gt;
Sometimes it is necessary to change something each time the action is performed.&lt;br /&gt;
&lt;br /&gt;
One way of doing this is to use a ''variable''.&lt;br /&gt;
A variable is a word which can be given a numerical value.&lt;br /&gt;
Try this example.&lt;br /&gt;
From the Smart Move main screen type LET cars = 23 &amp;lt; Enter &amp;gt;, then type PRINT cars &amp;lt; Enter &amp;gt;.&lt;br /&gt;
The current value of cars (i.e. 23) will be printed.&lt;br /&gt;
&lt;br /&gt;
The example shown in fig. 4 uses a variable to switch on and off each output in turn.&lt;br /&gt;
Type BUILD FlashThemAll &amp;lt; Enter &amp;gt; and type in the lines shown in fig. 4.&lt;br /&gt;
Then press the &amp;lt; Esc &amp;gt; key to display the main screen.&lt;br /&gt;
Type FlashThemAll &amp;lt; Enter &amp;gt; to run it.&lt;br /&gt;
&lt;br /&gt;
[[File:Tutorial-fig04.png|frame|none|fig. 4]]&lt;br /&gt;
&lt;br /&gt;
''How it works.'' As you can see variables are an important feature of Smart Move.&lt;br /&gt;
Your variables can be up to 15 characters in length.&lt;br /&gt;
The command VALUES will list all the variables you have created and their current value.&lt;br /&gt;
&lt;br /&gt;
[[Category:Tutorial]]&lt;/div&gt;</summary>
		<author><name>Benryves</name></author>
	</entry>
</feed>