<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/">
	<channel>
		<title>The 4 functions calculator is finished and download link for the Exe file posted.</title>
		<link>/blogentry/53363</link>
		<atom:link href="https://www.lotterypost.com/rss/blogcomments/53363" rel="self" type="application/rss+xml" />
		<description>LANTERN's Blog: The 4 functions calculator is finished and download link for the Exe file posted.</description>
		<dc:language>en-us</dc:language>
		<generator>Lottery Post RSS Generator</generator>
		<item>
			<title>Original Blog Entry: The 4 functions calculator is finished and download link for the Exe file posted.</title>
			<link>/blogentry/53363</link>
			<guid isPermaLink="true">/blogentry/53363</guid>
			<pubDate>Sun, 17 Apr 2011 08:53:21 GMT</pubDate>
			<dc:creator>LANTERN</dc:creator>
			<description><![CDATA[<p>It was easy to make, a little later I will see if I can shorten out the code as it is too long now, now it has all 4 functions working.<br /><br />2 PRINT Calculator.<br /><br />3 C = C<br /><br />4 PRINT Type: E ( E = Exit) or + or - or X or /<br /><br />8 INPUT Type one of the 5 options and press Enter ;X$<br /><br />12 IF X$ = E THEN 500<br /><br />30 IF X$ = + THEN 50<br /><br />31 IF X$ = - THEN 60<br /><br />32 IF X$ = X THEN 70<br /><br />33 IF X$ = / THEN 80<br /><br />35 GOTO 4<br /><br />50 PRINT Addition : GOTO 100<br /><br />60 PRINT Substraction : GOTO 200<br /><br />70 PRINT Multiplication : GOTO 300<br /><br />80 PRINT Division : GOTO 400<br /><br />90 REM Addition Routine<br /><br />100 PRINT Right now you have: : PRINT C<br /><br />101 PRINT Type a number<br /><br />102 PRINT And press the Enter key<br /><br />104 INPUT To use other function or to Exit enter 0 (Zero) ; A<br /><br />106 IF A = 0 THEN 4<br /><br />107 C = C + A<br /><br />114 GOTO 100<br /><br />200 REM Substraction Routine<br /><br />201 PRINT Right now you have: : PRINT C<br /><br />202 PRINT Type a number<br /><br />203 PRINT And press the Enter key<br /><br />204 INPUT To use other function enter 0 (Zero) ; A<br /><br />206 IF A = 0 THEN 4<br /><br />210 C = C - A<br /><br />211 GOTO 201<br /><br />290 REM Multiplication Routine<br /><br />300 PRINT Right now you have: : PRINT C<br /><br />301 PRINT Type a number<br /><br />302 PRINT And press the Enter key<br /><br />304 INPUT To use other function or to Exit enter 0 (Zero) ; A<br /><br />306 IF A = 0 THEN 4<br /><br />307 C = C * A<br /><br />314 GOTO 300<br /><br />390 REM Division Routine<br /><br />400 PRINT Right now you have: : PRINT C<br /><br />401 PRINT Type a number<br /><br />402 PRINT And press the Enter key<br /><br />404 INPUT To use other function or to Exit enter 0 (Zero) ; A<br /><br />406 IF A = 0 THEN 4<br /><br />407 C = C / A<br /><br />414 GOTO 400<br /><br />500 END<br /><br />----------<br /><br />See how long that code is?<br /><br />I compacted it:<br /><br />1 PRINT Calculator.<br /><br />2 C = C<br /><br />3 PRINT Type: E ( E = Exit) or + or - or X or /<br /><br />4 INPUT Type one of the 5 options and press Enter ;X$<br /><br />5 IF X$ = E THEN 26<br /><br />6 PRINT Right now you have: : PRINT C<br /><br />7 PRINT Type a number And press the Enter key<br /><br />8 INPUT To use other function or to Exit enter 0 (Zero) ; A<br /><br />9 IF A = 0 THEN 3<br /><br />10 IF X$ = + THEN 14<br /><br />11 IF X$ = - THEN 17<br /><br />12 IF X$ = X THEN 20<br /><br />13 IF X$ = / THEN 23<br /><br />14 C = C + A<br /><br />15 PRINT Addition<br /><br />16 GOTO 6<br /><br />17 C = C - A<br /><br />18 PRINT Substraction<br /><br />19 GOTO 6<br /><br />20 C = C * A<br /><br />21 PRINT Multiplication<br /><br />22 GOTO 6<br /><br />23 C = C / A<br /><br />24 PRINT Division<br /><br />25 GOTO 6<br /><br />26 END<br /><br />--------<br /><br />I tried to make it smaller than this, but could not so far:<br /><br />1 PRINT Calculator. :C = C<br /><br />3 PRINT Type: E ( E = Exit) or + or - or X or /<br /><br />4 INPUT Type one of the 5 options and press Enter ;X$<br /><br />5 IF X$ = E THEN 26<br /><br />6 PRINT Right now you have: : PRINT C<br /><br />7 PRINT Type a number And press the Enter key<br /><br />8 INPUT To use other function or to Exit enter 0 (Zero) ; A<br /><br />9 IF A = 0 THEN 3<br /><br />10 IF X$ = + THEN 14<br /><br />11 IF X$ = - THEN 17<br /><br />12 IF X$ = X THEN 20<br /><br />13 IF X$ = / THEN 23<br /><br />14 C = C + A:PRINT Addition :GOTO 6<br /><br />17 C = C - A:PRINT Substraction :GOTO 6<br /><br />20 C = C * A:PRINT Multiplication :GOTO 6<br /><br />23 C = C / A:PRINT Division :GOTO 6<br /><br />26 END<br /><br />--------------<br /><br />Download link of the finished calculator&#x27;s Exe file:<br /><br />Download link good for 7 days only!<br /><br />http://wikisend.com/download/601206/Fernando&#x27;sCalculator1.00.exe<br /><br />-----------<br /><br />As seen, even simple old basic with line numbers and all has its uses, RJOh uses it also.<br /><br />It is not so much the programming language used, but how it is used that matters the most, well, up to a point, old programming languages have some limitations, it also depends on the compiler if you compile it.<br /><br />Maybe I do have a mind for programming and I still know next to nothing about programming and also about Math.<br /><br />... &#x5b;&#xa0;<a href="/blogentry/53363">More</a>&#xa0;&#x5d;</p>]]></description>
			<category>Blog Entry</category>
			<category>LANTERN</category>
			<wfw:comment>https://www.lotterypost.com/blogentry/53363</wfw:comment>
		</item>
	</channel>
</rss>

