<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>http://digida.mgpu.ru/index.php?action=history&amp;feed=atom&amp;title=How_to_Make_a_Calculator</id>
	<title>How to Make a Calculator - История изменений</title>
	<link rel="self" type="application/atom+xml" href="http://digida.mgpu.ru/index.php?action=history&amp;feed=atom&amp;title=How_to_Make_a_Calculator"/>
	<link rel="alternate" type="text/html" href="http://digida.mgpu.ru/index.php?title=How_to_Make_a_Calculator&amp;action=history"/>
	<updated>2026-05-20T01:13:06Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>http://digida.mgpu.ru/index.php?title=How_to_Make_a_Calculator&amp;diff=1790&amp;oldid=prev</id>
		<title>Patarakin: 1 версия импортирована</title>
		<link rel="alternate" type="text/html" href="http://digida.mgpu.ru/index.php?title=How_to_Make_a_Calculator&amp;diff=1790&amp;oldid=prev"/>
		<updated>2022-07-21T08:33:16Z</updated>

		<summary type="html">&lt;p&gt;1 версия импортирована&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Предыдущая версия&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Версия от 11:33, 21 июля 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key digida:diff:1.41:old-1789:rev-1790 --&gt;
&lt;/table&gt;</summary>
		<author><name>Patarakin</name></author>
	</entry>
	<entry>
		<id>http://digida.mgpu.ru/index.php?title=How_to_Make_a_Calculator&amp;diff=1789&amp;oldid=prev</id>
		<title>scratch&gt;CrazyBoy826 в 18:49, 24 мая 2022</title>
		<link rel="alternate" type="text/html" href="http://digida.mgpu.ru/index.php?title=How_to_Make_a_Calculator&amp;diff=1789&amp;oldid=prev"/>
		<updated>2022-05-24T18:49:56Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This tutorial explains &amp;#039;&amp;#039;&amp;#039;how to make a calculator&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
{{note|This calcuator is a basic version (Build: 1.842.91v) of AAE: Calculator that has been translated over into Scratch.}}&lt;br /&gt;
&lt;br /&gt;
== What is a calculator? ==&lt;br /&gt;
A calculator is a (usually small) machine used to calculate math problems.&amp;lt;ref&amp;gt;[[wikipedia:Calculator]]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== What will be needed: ==&lt;br /&gt;
&lt;br /&gt;
=== Variables: ===&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;sb&amp;gt;(Answer to !)&amp;lt;/sb&amp;gt;&lt;br /&gt;
* &amp;lt;sb&amp;gt;(Answer to ! p2)&amp;lt;/sb&amp;gt;&lt;br /&gt;
* &amp;lt;sb&amp;gt;(Answer to ^)&amp;lt;/sb&amp;gt;&lt;br /&gt;
* &amp;lt;sb&amp;gt;(Answer to ^ p2)&amp;lt;/sb&amp;gt;&lt;br /&gt;
* &amp;lt;sb&amp;gt;(Answers:)&amp;lt;/sb&amp;gt;&lt;br /&gt;
* &amp;lt;sb&amp;gt;(Current Equation:)&amp;lt;/sb&amp;gt;&lt;br /&gt;
* &amp;lt;sb&amp;gt;(Number: e)&amp;lt;/sb&amp;gt;&lt;br /&gt;
* &amp;lt;sb&amp;gt;(MTEP Number)&amp;lt;/sb&amp;gt;&lt;br /&gt;
* &amp;lt;sb&amp;gt;(MTTPO)&amp;lt;/sb&amp;gt;&lt;br /&gt;
* &amp;lt;sb&amp;gt;(Number before !)&amp;lt;/sb&amp;gt;&lt;br /&gt;
* &amp;lt;sb&amp;gt;(Number before ! p2)&amp;lt;/sb&amp;gt;&lt;br /&gt;
* &amp;lt;sb&amp;gt;(Pi)&amp;lt;/sb&amp;gt;&lt;br /&gt;
* &amp;lt;sb&amp;gt;(TTPO)&amp;lt;/sb&amp;gt;&lt;br /&gt;
* &amp;lt;sb&amp;gt;(TTPO Num 1)&amp;lt;/sb&amp;gt;&lt;br /&gt;
* &amp;lt;sb&amp;gt;(TTPO Num 2)&amp;lt;/sb&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Lists: ===&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;sb&amp;gt;(Answers 1::list)&amp;lt;/sb&amp;gt;&lt;br /&gt;
* &amp;lt;sb&amp;gt;(Answers 2::list)&amp;lt;/sb&amp;gt;&lt;br /&gt;
* &amp;lt;sb&amp;gt;(Answers 3::list)&amp;lt;/sb&amp;gt;&lt;br /&gt;
* &amp;lt;sb&amp;gt;(Answers 4::list)&amp;lt;/sb&amp;gt;&lt;br /&gt;
* &amp;lt;sb&amp;gt;(Calculating::list)&amp;lt;/sb&amp;gt;&lt;br /&gt;
* &amp;lt;sb&amp;gt;(Equations::list)&amp;lt;/sb&amp;gt;&lt;br /&gt;
* &amp;lt;sb&amp;gt;(Key::list)&amp;lt;/sb&amp;gt;&lt;br /&gt;
* &amp;lt;sb&amp;gt;(Making the equation::list)&amp;lt;/sb&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Custom blocks: ===&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;sb&amp;gt;Calculate::custom&amp;lt;/sb&amp;gt;&lt;br /&gt;
* &amp;lt;sb&amp;gt;Make the Equation::custom&amp;lt;/sb&amp;gt;&lt;br /&gt;
* &amp;lt;sb&amp;gt;Key::custom&amp;lt;/sb&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Code ==&lt;br /&gt;
&lt;br /&gt;
=== In the Stage ===&lt;br /&gt;
The code in the [[Stage]] is the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;scratchblocks&amp;gt;&lt;br /&gt;
when green flag clicked&lt;br /&gt;
set [Current Equation: v] to ()&lt;br /&gt;
set [Answers: v] to ()&lt;br /&gt;
show list [Equations: v]&lt;br /&gt;
show list [Key: v]&lt;br /&gt;
show variable [Answer: v]&lt;br /&gt;
show variable [Current Equation: v]&lt;br /&gt;
Key::custom&lt;br /&gt;
&amp;lt;/scratchblocks&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;scratchblocks&amp;gt;&lt;br /&gt;
define Key&lt;br /&gt;
delete all of [Key: v]&lt;br /&gt;
add [Use &amp;quot;*&amp;quot; for multiplication.] to [Key: v]&lt;br /&gt;
add [Use &amp;quot;/&amp;quot; for division.] to [Key: v]&lt;br /&gt;
add [Use &amp;quot;-&amp;quot; for subtraction.] to [Key: v]&lt;br /&gt;
add [Use &amp;quot;+&amp;quot; for addition.] to [Key: v]&lt;br /&gt;
add [To easily get the percent of a number, put the percent without the percent sign,] to [Key: v]&lt;br /&gt;
add [then press the check mark, then put &amp;quot;% of&amp;quot;, then press the check mark, and then put the number you want] to [Key: v]&lt;br /&gt;
add [the percent of.] to [Key: v]&lt;br /&gt;
add [do not use commas.] to [Key: v]&lt;br /&gt;
add [Remember that you will have to put in a number then press the check mark then] to [Key: v]&lt;br /&gt;
add [put a symbol then press the check mark and then put a number.] to [Key: v]&lt;br /&gt;
add [You can use decimals as one number. Here is an example of a equation with a] to [Key: v]&lt;br /&gt;
add [number that has a decimal: 5395.58320349 (clicks the check mark) *] to [Key: v]&lt;br /&gt;
add [(clicks the check mark) 69483 (clicks the check mark) then you will receive the] to [Key: v]&lt;br /&gt;
add [answer to the equation, the answer to that one is 374901307.7] to [Key: v]&lt;br /&gt;
add [You can only make equations that are 3 clicks of the check mark.] to [Key: v]&lt;br /&gt;
add [So, if your equation is longer then just break down the equation into] to [Key: v]&lt;br /&gt;
add [smaller sections.] to [Key: v]&lt;br /&gt;
add [&amp;quot;square root of&amp;quot; will calculate the square root of a number.] to [Key: v]&lt;br /&gt;
add [&amp;quot;sin of&amp;quot; will calculate the sin of a number.] to [Key: v]&lt;br /&gt;
add [&amp;quot;cos of&amp;quot; will calculate the cos of a number.] to [Key: v]&lt;br /&gt;
add [&amp;quot;tan of&amp;quot; will calculate the tan of a number.] to [Key: v]&lt;br /&gt;
add [&amp;quot;asin of&amp;quot; will calculate the asin of a number.] to [Key: v]&lt;br /&gt;
add [&amp;quot;acos of&amp;quot; will calculate the acos of a number.] to [Key: v]&lt;br /&gt;
add [&amp;quot;atan of&amp;quot; will calculate the atan of a number.] to [Key: v]&lt;br /&gt;
add [&amp;quot;abs of&amp;quot; will calculate the abs of a number.] to [Key: v]&lt;br /&gt;
add [&amp;quot;floor of&amp;quot; will calculate the floor of a number.] to [Key: v]&lt;br /&gt;
add [&amp;quot;ceiling of&amp;quot; will calculate the ceiling of a number.] to [Key: v]&lt;br /&gt;
add [&amp;quot;ln of&amp;quot; will calculate the ln of a number.] to [Key: v]&lt;br /&gt;
add [&amp;quot;log of&amp;quot; will calculate the log of a number.] to [Key: v]&lt;br /&gt;
add [&amp;quot;mod&amp;quot; will calculate the mod.] to [Key: v]&lt;br /&gt;
add [&amp;quot;round&amp;quot; will round a number to a whole number.] to [Key: v]&lt;br /&gt;
&amp;lt;/scratchblocks&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The key could be put in the [[Instructions]] page of the project instead, if it is going to be shared.&lt;br /&gt;
&lt;br /&gt;
=== In the Sprite ===&lt;br /&gt;
After the code contained in the stage, the next part of the code will be part of a [[Sprite]]. Once the sprite is made, then the code is as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;scratchblocks&amp;gt;&lt;br /&gt;
when green flag clicked&lt;br /&gt;
go to x: [0] y: [-140]&lt;br /&gt;
set drag mode [not draggable v]&lt;br /&gt;
show&lt;br /&gt;
delete all of [Calculating v]&lt;br /&gt;
delete all of [Making the Equation v]&lt;br /&gt;
&amp;lt;/scratchblocks&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Set Pi and Euler&amp;#039;s number ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;scratchblocks&amp;gt;&lt;br /&gt;
when green flag clicked&lt;br /&gt;
set [Pi v] to [3.14159265358979323846264338327950288419716939937510] // This is Pi.&lt;br /&gt;
set [Number: e v] to [2.71828182845904523536028747135266249775724709369995] // This is Euler&amp;#039;s number.&lt;br /&gt;
&amp;lt;/scratchblocks&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;scratchblocks&amp;gt;&lt;br /&gt;
when this sprite clicked&lt;br /&gt;
hide&lt;br /&gt;
Make the Equation::custom&lt;br /&gt;
&amp;lt;/scratchblocks&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Make the Equation ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;scratchblocks&amp;gt;&lt;br /&gt;
define Make the Equation&lt;br /&gt;
set [MTEP Number: v] to [1]&lt;br /&gt;
repeat until &amp;lt;&amp;lt;(length of [Making the Equation v]) = [3]&amp;gt; or &amp;lt;[Making the Equation v] contains [!] ?&amp;gt;&amp;gt;&lt;br /&gt;
  ask (join [New Equation: (p] (join (MTEP Number:) [)])) and wait&lt;br /&gt;
  add (answer) to [Making the Equation: v]&lt;br /&gt;
  change [MTEP Number v] by [1]&lt;br /&gt;
end&lt;br /&gt;
if &amp;lt;&amp;lt;(length of [Making the Equation v]) = [3]&amp;gt; or &amp;lt;[Making the Equation v] contains [!] ?&amp;gt;&amp;gt; then&lt;br /&gt;
  show&lt;br /&gt;
  Calculate::custom&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/scratchblocks&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Calculating ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;scratchblocks&amp;gt;&lt;br /&gt;
define Calculate&lt;br /&gt;
set [Current Equation: v] to (Making the Equation)&lt;br /&gt;
if &amp;lt;[Making the Equation v] contains [ans] ?&amp;gt; then&lt;br /&gt;
  replace item (item # of [ans] in [Making the Equation v]) of [Making the Equation v] with (Answers:)&lt;br /&gt;
end&lt;br /&gt;
if &amp;lt;&amp;lt;[Making the Equation v] contains [Pi] ?&amp;gt; or &amp;lt;[Making the Equation v] contains [π] ?&amp;gt;&amp;gt; then&lt;br /&gt;
  replace item &amp;lt;(item # of [Pi] in [Making the Equation v]) or (item # of [π] in [Making the Equation v])&amp;gt; of [Making the Equation v] with (Pi)&lt;br /&gt;
end&lt;br /&gt;
if &amp;lt;&amp;lt;[Making the Equation v] contains [e] ?&amp;gt; or &amp;lt;[Making the Equation v] contains [E] ?&amp;gt;&amp;gt; then&lt;br /&gt;
  replace item &amp;lt;(item # of [e] in [Making the Equation v]) or (item # of [E] in [Making the Equation v])&amp;gt; of [Making the Equation v] with (Number: e)&lt;br /&gt;
end&lt;br /&gt;
if &amp;lt;[Making the Equation v] contains [*] ?&amp;gt; then&lt;br /&gt;
  add ((item ((item # of [*] in [Making the Equation v]) - [1]) of [Making the Equation v]) * (item ((item # of [*] in [Making the Equation v]) + [1]) of [Making the Equation v])) to [Calculating v]&lt;br /&gt;
end&lt;br /&gt;
if &amp;lt;[Making the Equation v] contains [/] ?&amp;gt; then&lt;br /&gt;
  add ((item ((item # of [/] in [Making the Equation v]) - [1]) of [Making the Equation v]) / (item ((item # of [/] in [Making the Equation v]) + [1]) of [Making the Equation v])) to [Calculating v]&lt;br /&gt;
end&lt;br /&gt;
if &amp;lt;[Making the Equation v] contains [-] ?&amp;gt; then&lt;br /&gt;
  add ((item ((item # of [-] in [Making the Equation v]) - [1]) of [Making the Equation v]) - (item ((item # of [-] in [Making the Equation v]) + [1]) of [Making the Equation v])) to [Calculating v]&lt;br /&gt;
end&lt;br /&gt;
if &amp;lt;[Making the Equation v] contains [+] ?&amp;gt; then&lt;br /&gt;
  add ((item ((item # of [+] in [Making the Equation v]) - [1]) of [Making the Equation v]) + (item ((item # of [+] in [Making the Equation v]) + [1]) of [Making the Equation v])) to [Calculating v]&lt;br /&gt;
end&lt;br /&gt;
if &amp;lt;[Making the Equation v] contains [% of] ?&amp;gt; then&lt;br /&gt;
  add ((item ((item # of [% of] in [Making the Equation v]) - [1]) of [Making the Equation v]) * ((item ((item # of [% of] in [Making the Equation v]) + [1]) of [Making the Equation v]) / [100])) to [Calculating v]&lt;br /&gt;
end&lt;br /&gt;
if &amp;lt;[Making the Equation v] contains [^] ?&amp;gt; then&lt;br /&gt;
  set [TTPO Num 1 v] to (item ((item # of [^] in [Making the Equation v]) - [1]) of [Making the Equation v])&lt;br /&gt;
  set [TTPO Num 2 v] to (item ((item # of [^] in [Making the Equation v]) + [1]) of [Making the Equation v])&lt;br /&gt;
  set [MTTPO v] to (TTPO Num 2)&lt;br /&gt;
  set [TTPO v] to (TTPO Num 1)&lt;br /&gt;
  if &amp;lt;(TTPO Num 2) = [0]&amp;gt; then&lt;br /&gt;
    set [Answer to ^ p2 v] to [1]&lt;br /&gt;
  else&lt;br /&gt;
    repeat until &amp;lt;(MTTPO) = [1]&amp;gt;&lt;br /&gt;
      set [Answer to ^ v] to ((TTPO) * (TTPO Num 1))&lt;br /&gt;
      set [Answer to ^ p2 v] to (Answer to ^)&lt;br /&gt;
      set [TTPO v] to (Answer to ^)&lt;br /&gt;
      change [MTTPO v] by ([0] - [1])&lt;br /&gt;
    end&lt;br /&gt;
  end&lt;br /&gt;
  add (Answer to ^ p2) to [Calculating v]&lt;br /&gt;
end&lt;br /&gt;
if &amp;lt;[Making the Equation v] contains [!] ?&amp;gt; then&lt;br /&gt;
  set [Number before ! v] to (item ((item # of [!] in [Making the Equation v]) - [1]) of [Making the Equation v])&lt;br /&gt;
  set [Number before ! p2 v] to (item ((item # of [!] in [Making the Equation v]) - [1]) of [Making the Equation v])&lt;br /&gt;
  repeat until &amp;lt;(Number before !) = [1]&amp;gt;&lt;br /&gt;
    set [Answer to ! v] to ((Number before ! p2) * ((Number before !) - [1]))&lt;br /&gt;
    set [Answer to ! p2 v] to (Number before !)&lt;br /&gt;
    change [Number before ! v] by ([0] - [1])&lt;br /&gt;
    change [Number before ! p2 v] by (Answer to !)&lt;br /&gt;
  end&lt;br /&gt;
  add (Answer to ! p2) to [Calculating v]&lt;br /&gt;
end&lt;br /&gt;
if &amp;lt;[Making the Equation v] contains [square root of] ?&amp;gt; then&lt;br /&gt;
  add ([sqrt v] of (item ((item # of [square root of] in [Making the Equation v]) + [1]) of [Making the Equation v])) to [Calculating v]&lt;br /&gt;
end&lt;br /&gt;
if &amp;lt;[Making the Equation v] contains [sin of] ?&amp;gt; then&lt;br /&gt;
  add ([sin v] of (item ((item # of [sin of] in [Making the Equation v]) + [1]) of [Making the Equation v])) to [Calculating v]&lt;br /&gt;
end&lt;br /&gt;
if &amp;lt;[Making the Equation v] contains [cos of] ?&amp;gt; then&lt;br /&gt;
  add ([cos v] of (item ((item # of [cos of] in [Making the Equation v]) + [1]) of [Making the Equation v])) to [Calculating v]&lt;br /&gt;
end&lt;br /&gt;
if &amp;lt;[Making the Equation v] contains [tan of] ?&amp;gt; then&lt;br /&gt;
  add ([tan v] of (item ((item # of [tan of] in [Making the Equation v]) + [1]) of [Making the Equation v])) to [Calculating v]&lt;br /&gt;
end&lt;br /&gt;
if &amp;lt;[Making the Equation v] contains [asin of] ?&amp;gt; then&lt;br /&gt;
  add ([asin v] of (item ((item # of [asin of] in [Making the Equation v]) + [1]) of [Making the Equation v])) to [Calculating v]&lt;br /&gt;
end&lt;br /&gt;
if &amp;lt;[Making the Equation v] contains [acos of] ?&amp;gt; then&lt;br /&gt;
  add ([acos v] of (item ((item # of [acos of] in [Making the Equation v]) + [1]) of [Making the Equation v])) to [Calculating v]&lt;br /&gt;
end&lt;br /&gt;
if &amp;lt;[Making the Equation v] contains [atan of] ?&amp;gt; then&lt;br /&gt;
  add ([atan v] of (item ((item # of [atan of] in [Making the Equation v]) + [1]) of [Making the Equation v])) to [Calculating v]&lt;br /&gt;
end&lt;br /&gt;
if &amp;lt;[Making the Equation v] contains [abs of] ?&amp;gt; then&lt;br /&gt;
  add ([abs v] of (item ((item # of [abs of] in [Making the Equation v]) + [1]) of [Making the Equation v])) to [Calculating v]&lt;br /&gt;
end&lt;br /&gt;
if &amp;lt;[Making the Equation v] contains [floor of] ?&amp;gt; then&lt;br /&gt;
  add ([floor v] of (item ((item # of [floor of] in [Making the Equation v]) + [1]) of [Making the Equation v])) to [Calculating v]&lt;br /&gt;
end&lt;br /&gt;
if &amp;lt;[Making the Equation v] contains [ceiling of] ?&amp;gt; then&lt;br /&gt;
  add ([ceiling v] of (item ((item # of [ceiling of] in [Making the Equation v]) + [1]) of [Making the Equation v])) to [Calculating v]&lt;br /&gt;
end&lt;br /&gt;
if &amp;lt;[Making the Equation v] contains [ln of] ?&amp;gt; then&lt;br /&gt;
  add ([ln v] of (item ((item # of [ln of] in [Making the Equation v]) + [1]) of [Making the Equation v])) to [Calculating v]&lt;br /&gt;
end&lt;br /&gt;
if &amp;lt;[Making the Equation v] contains [log of] ?&amp;gt; then&lt;br /&gt;
  add ([log v] of (item ((item # of [log of] in [Making the Equation v]) + [1]) of [Making the Equation v])) to [Calculating v]&lt;br /&gt;
end&lt;br /&gt;
if &amp;lt;[Making the Equation v] contains [mod] ?&amp;gt; then&lt;br /&gt;
  add ((item ((item # of [mod] in [Making the Equation v]) - [1]) of [Making the Equation v]) mod (item ((item # of [mod] in [Making the Equation v]) + [1]) of [Making the Equation v])) to [Calculating v]&lt;br /&gt;
end&lt;br /&gt;
if &amp;lt;[Making the Equation v] contains [round] ?&amp;gt; then&lt;br /&gt;
  add (round (item ((item # of [round] in [Making the Equation v]) + [1]) of [Making the Equation v])) to [Calculating v]&lt;br /&gt;
end&lt;br /&gt;
set [Answer: v] to (Calculating)&lt;br /&gt;
add (join (Current Equation:) (join [ = ] (Answers:))) to [Equations: v]&lt;br /&gt;
if &amp;lt;not &amp;lt;(Answers 1:) = [200000]&amp;gt;&amp;gt; then&lt;br /&gt;
  add (Answers:) to [Answers 1: v]&lt;br /&gt;
end&lt;br /&gt;
if &amp;lt;&amp;lt;not &amp;lt;(Answers 2:) = [200000]&amp;gt;&amp;gt; and &amp;lt;(Answers 1:) = [200000]&amp;gt;&amp;gt; then&lt;br /&gt;
  add (Answers:) to [Answers 2: v]&lt;br /&gt;
end&lt;br /&gt;
if &amp;lt;&amp;lt;not &amp;lt;(Answers 3:) = [200000]&amp;gt;&amp;gt; and &amp;lt;(Answers 1:) = [200000]&amp;gt;&amp;gt; then&lt;br /&gt;
  add (Answers:) to [Answers 3: v]&lt;br /&gt;
end&lt;br /&gt;
if &amp;lt;&amp;lt;not &amp;lt;(Answers 4:) = [200000]&amp;gt;&amp;gt; and &amp;lt;(Answers 1:) = [200000]&amp;gt;&amp;gt; then&lt;br /&gt;
  add (Answers:) to [Answers 4: v]&lt;br /&gt;
end&lt;br /&gt;
delete all of [Calculating v]&lt;br /&gt;
delete all of [Making the Equation v]&lt;br /&gt;
&amp;lt;/scratchblocks&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripting Tutorials|Calculator]]&lt;/div&gt;</summary>
		<author><name>scratch&gt;CrazyBoy826</name></author>
	</entry>
</feed>