<?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>Useful Programs and Functions I Made</title>
		<link>http://tibasicdev.wikidot.com/forum/t-219014/useful-programs-and-functions-i-made</link>
		<description>Posts in the discussion thread &quot;Useful Programs and Functions I Made&quot; - =P
I would wish to have these programs in assembly and released for public use.
Feel free to post enhanced programs and functions.</description>
				<copyright></copyright>
		<lastBuildDate>Wed, 22 Jul 2026 02:10:34 +0000</lastBuildDate>
		
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-219014#post-760793</guid>
				<title>Re: Useful Programs and Functions I Made</title>
				<link>http://tibasicdev.wikidot.com/forum/t-219014/useful-programs-and-functions-i-made#post-760793</link>
				<description></description>
				<pubDate>Wed, 21 Apr 2010 14:30:16 +0000</pubDate>
				<wikidot:authorName>theUnnamed</wikidot:authorName>				<wikidot:authorUserId>468372</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Although you can use dim()<br /> here's, my way of doing it without dim()</p> <div class="code"> <pre><code>:string_l(s) :Func :local c :1→c :while mid(s,c,1)≠&quot;&quot; :c+1→c :EndWhile :Return c-1</code></pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-219014#post-760241</guid>
				<title>Re: Useful Programs and Functions I Made</title>
				<link>http://tibasicdev.wikidot.com/forum/t-219014/useful-programs-and-functions-i-made#post-760241</link>
				<description></description>
				<pubDate>Wed, 21 Apr 2010 01:47:38 +0000</pubDate>
				<wikidot:authorName>rhombus p</wikidot:authorName>				<wikidot:authorUserId>240559</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>dont feel ashamed and dont quit! ive done this many time before on the 83/84 calcs. all this does is it helps you learn. please, post some more of you functions :D</p> <p>oh and btw, the fact that you can code something that does the same thing as a built in operation is pretty amazing none the less.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-219014#post-760218</guid>
				<title>Re: Useful Programs and Functions I Made</title>
				<link>http://tibasicdev.wikidot.com/forum/t-219014/useful-programs-and-functions-i-made#post-760218</link>
				<description></description>
				<pubDate>Wed, 21 Apr 2010 01:15:19 +0000</pubDate>
				<wikidot:authorName>theUnnamed</wikidot:authorName>				<wikidot:authorUserId>468372</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>As the calculator gets more and more functions the more likely we are to accidentally rewrite functionality I've done it a number of times. of course I mainly am coding on the n-spire and that thing has like 2000 functions or something crazy like that with operators to do all manor of crazy things and whats worse most take all type often having different behaviors for each. trust me and the people here you will rewrite functionality and you will feel stupid when someone tells you the OS already does it for you.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-219014#post-706551</guid>
				<title>Re: Useful Programs and Functions I Made</title>
				<link>http://tibasicdev.wikidot.com/forum/t-219014/useful-programs-and-functions-i-made#post-706551</link>
				<description></description>
				<pubDate>Tue, 23 Feb 2010 00:07:20 +0000</pubDate>
				<wikidot:authorName>builderboy</wikidot:authorName>				<wikidot:authorUserId>141501</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Yeah don't be ashamed! Thats what we're here for! Would you believe that to extract elements from a list, I used the prod() function? At some point or another we all write our own functions that the TiOS has already done for us :)</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-219014#post-706540</guid>
				<title>Re: Useful Programs and Functions I Made</title>
				<link>http://tibasicdev.wikidot.com/forum/t-219014/useful-programs-and-functions-i-made#post-706540</link>
				<description></description>
				<pubDate>Mon, 22 Feb 2010 23:45:51 +0000</pubDate>
				<wikidot:authorName>ztrumpet</wikidot:authorName>				<wikidot:authorUserId>352601</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>There's no reason to quit- If you are too ashamed, then you will get better. =) Good luck with your code!<br /> (It took me over 1.5 years before I used dim() for the first time.)</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-219014#post-706521</guid>
				<title>Re: Useful Programs and Functions I Made</title>
				<link>http://tibasicdev.wikidot.com/forum/t-219014/useful-programs-and-functions-i-made#post-706521</link>
				<description></description>
				<pubDate>Mon, 22 Feb 2010 23:14:34 +0000</pubDate>
				<wikidot:authorName>boybyou</wikidot:authorName>				<wikidot:authorUserId>383579</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>gosh&#8230; lol&#8230; i'm ashamed to post anymore&#8230; (this is my last post.) bye pplz&#8212; i'll just come on here to look at stuff&#8230;</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-219014#post-703762</guid>
				<title>Re: Useful Programs and Functions I Made</title>
				<link>http://tibasicdev.wikidot.com/forum/t-219014/useful-programs-and-functions-i-made#post-703762</link>
				<description></description>
				<pubDate>Fri, 19 Feb 2010 12:14:35 +0000</pubDate>
				<wikidot:authorName>Rigel314</wikidot:authorName>				<wikidot:authorUserId>339594</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>You can use the dim() function for this.<br /> <a href="http://tibasicdev.wikidot.com/68k:dim">http://tibasicdev.wikidot.com/68k:dim</a></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-219014#post-703571</guid>
				<title>Re: Useful Programs and Functions I Made</title>
				<link>http://tibasicdev.wikidot.com/forum/t-219014/useful-programs-and-functions-i-made#post-703571</link>
				<description></description>
				<pubDate>Fri, 19 Feb 2010 04:26:43 +0000</pubDate>
				<wikidot:authorName>boybyou</wikidot:authorName>				<wikidot:authorUserId>383579</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>P.S. Do you pplz think i write nice, neat, easy-to-read code? =P</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-219014#post-701791</guid>
				<title>Re: Useful Programs and Functions I Made</title>
				<link>http://tibasicdev.wikidot.com/forum/t-219014/useful-programs-and-functions-i-made#post-701791</link>
				<description></description>
				<pubDate>Wed, 17 Feb 2010 05:02:29 +0000</pubDate>
				<wikidot:authorName>boybyou</wikidot:authorName>				<wikidot:authorUserId>383579</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>The following program finds the length of the given string.</p> <p>Function #2: string_l(<em>any string</em>)<br /> Purpose: See the first line of this post.<br /> Folder: The <strong><em>s</em></strong> folder. (<em>s</em> stands for string)<br /> Note: I find this program useful. Please simplify any algorithms with replying posts.</p> <div class="code"> <pre><code>:string_l(s) :Func :© finds the string length :Local i,ii © loop variables :Local new_s © the string that will be constantly modified :Local spacenum © number of spaces :s→new_s :0→spacenum : :1→ii :For i,1,ii,1 : inString(s,&quot; &quot;,i)»i : If i≠0 Then : spacenum+1»spacenum : i+1→ii : Else : Exit : EndIf :EndFor : :1→ii :For i,1,ii,1 : If right(new_s,1)≠&quot; &quot; Then : shift(s,-i)→new_s : Else : If spacenum≥1 Then : spacenum-1→spacenum : shift(s,-i)→new_s : Else : Exit : Endif : Endif : ii+1→ii :EndFor : :Return i-1 :EndFunc</code></pre></div> <p><em>Example of function call:</em> s\string_l(&quot;roflmaololcopters meh.&quot;)<br /> Edit&#8212;added info: <em>Output:</em> 22</p> <p>I should document this, but you guys can ask about why I did stuff the way I did it by replying to this post.<br /> XD hope u pplz find it usefull!<br /> Edit&#8212;added info: Please give credit to me for this program.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-219014#post-701784</guid>
				<title>Re: Useful Programs and Functions I Made</title>
				<link>http://tibasicdev.wikidot.com/forum/t-219014/useful-programs-and-functions-i-made#post-701784</link>
				<description></description>
				<pubDate>Wed, 17 Feb 2010 04:42:43 +0000</pubDate>
				<wikidot:authorName>boybyou</wikidot:authorName>				<wikidot:authorUserId>383579</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>soz, don't give credit =P<br /> except that i don't use this <strong>EXACT</strong> function for games, nor would i think anyone would&#8230;<br /> it's the middle part that's commonly used, though</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-219014#post-699170</guid>
				<title>Re: Useful Programs and Functions I Made</title>
				<link>http://tibasicdev.wikidot.com/forum/t-219014/useful-programs-and-functions-i-made#post-699170</link>
				<description></description>
				<pubDate>Sun, 14 Feb 2010 07:24:10 +0000</pubDate>
				<wikidot:authorName>builderboy</wikidot:authorName>				<wikidot:authorUserId>141501</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Nice getkey loop, could be the foundation for many games/programs</p> <p>(although I think asking people to give you credit for this function is a bit silly :P it's going to be in almost every single basic game in one shape or another)</p> <p>can't wait to see what other fnctions you are coming up with!</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-219014#post-699126</guid>
				<title>Useful Programs and Functions I Made</title>
				<link>http://tibasicdev.wikidot.com/forum/t-219014/useful-programs-and-functions-i-made#post-699126</link>
				<description></description>
				<pubDate>Sun, 14 Feb 2010 05:14:23 +0000</pubDate>
				<wikidot:authorName>boybyou</wikidot:authorName>				<wikidot:authorUserId>383579</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>=/<br /> I don't have any programs to post yet, though i do have many functions.</p> <p>Function #1: get_char()<br /> Purpose: Finds the numeric value of a keystroke (or whatever)<br /> Notes: I would keep this program archived in my calculator's main folder.</p> <div class="code"> <pre><code>:get_char() :Func :© instructions--right after this program starts running, :© press the key that you want to find the value of : :Local KeyPrssd :0→KeyPrssd : :While KeyPrssd=0 :getKey()→KeyPrssd :EndWhile : :Return KeyPrssd :EndFunc</code></pre></div> <br /> More Functions to come soon&#8230;<br /> (i'm writing them in notepad so i can paste 'em later on new posts exceptionally quick)<br /> =P
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>