<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Simple clock program for the CE</title>
		<link>http://tibasicdev.wikidot.com/forum/t-8498253/simple-clock-program-for-the-ce</link>
		<description>Posts in the discussion thread &quot;Simple clock program for the CE&quot; - This only works for the CE, due to the Wait command. Also includes a blinking colon too!</description>
				<copyright></copyright>
		<lastBuildDate>Fri, 07 Aug 2026 16:32:39 +0000</lastBuildDate>
		
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-8498253#post-4058845</guid>
				<title>Re: Simple clock program for the CE</title>
				<link>http://tibasicdev.wikidot.com/forum/t-8498253/simple-clock-program-for-the-ce#post-4058845</link>
				<description></description>
				<pubDate>Wed, 14 Nov 2018 23:40:26 +0000</pubDate>
				<wikidot:authorName>Trenly</wikidot:authorName>				<wikidot:authorUserId>1905506</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I would disagree and say that this is not a routine. In computing, a routine is</p> <blockquote> <p>A sequence of instructions for performing a task that forms a program or a distinct part of one.</p> </blockquote> <p>and in the more liberal sense, it could be</p> <blockquote> <p>A small section of code intended to perform a specific function. Typically the most optimized form of the code, and used quite often.</p> </blockquote> <p>If you look at the current <a href="http://tibasicdev.wikidot.com/routines">routines</a>, they all have something in common in that they are simply a means to an end. For example, the number to string routine. Very rarely will you just be putting a number into a string as the program. Rather, part of the program may be converting the number to a string. Same thing goes with finding the index of the maximum list element, its rare that you will use a program to do that only, but instead it is almost always used as part of another program.</p> <p>Most programs have no need for a clock, and the ones which have timed aspects to them calculate a future time, and check if the current time is greater or less than that future time. Another thing to note is that routines should work on any calculator unless there is significant value to a routine which only works on certain ones. This is why the routines should all have AfPart(N/A) instead of remainder(N,A). I don’t see enough value in this for other programs for it to be a routine.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-8498253#post-4058767</guid>
				<title>Re: Simple clock program for the CE</title>
				<link>http://tibasicdev.wikidot.com/forum/t-8498253/simple-clock-program-for-the-ce#post-4058767</link>
				<description></description>
				<pubDate>Wed, 14 Nov 2018 21:19:22 +0000</pubDate>
				<wikidot:authorName>Misfire</wikidot:authorName>				<wikidot:authorUserId>4409570</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Only one I can answer but do not qualify myself to say, Yes I do believe this could be considered a routine because it's a sample of a clock program it is a single process made of multiple lines but it could be a sub-routine if it wasn't graphical. The other question I have to experiment to find a true verdict, I would make a logical hypothesis of no because of the CE having a faster processor.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-8498253#post-4052820</guid>
				<title>Simple clock program for the CE</title>
				<link>http://tibasicdev.wikidot.com/forum/t-8498253/simple-clock-program-for-the-ce#post-4052820</link>
				<description></description>
				<pubDate>Thu, 08 Nov 2018 00:18:02 +0000</pubDate>
								<wikidot:authorUserId>3338172</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I came up with a program for the CE. I created a function that no other CE clock has ever seen.</p> <div class="code"> <pre><code>ClrHome:Delvar A Repeat getKey not(A-&gt;A Wait .5 getTmStr(12 If 7=length(Ans &quot;0&quot;+Ans Output(1,1,sub(Ans,1,2)+sub(&quot; :&quot;,1+A,1)+sub(Ans,4,5 Output(2,1,getDtStr(getDtFmt End:Clrhome &quot;Simple Clock</code></pre></div> <br /> A few questions however: <ol> <li>Would this qualify as a Routine?</li> <li>Can the &quot;blinking colon&quot; be accomplished on the monochrome calculators? (Yes, but at the same speed)</li> </ol> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>