<?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>variable labels?</title>
		<link>http://tibasicdev.wikidot.com/forum/t-54463/variable-labels</link>
		<description>Posts in the discussion thread &quot;variable labels?&quot;</description>
				<copyright></copyright>
		<lastBuildDate>Fri, 15 May 2026 13:17:11 +0000</lastBuildDate>
		
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-54463#post-149158</guid>
				<title>Re: variable labels?</title>
				<link>http://tibasicdev.wikidot.com/forum/t-54463/variable-labels#post-149158</link>
				<description></description>
				<pubDate>Sun, 20 Apr 2008 22:27:41 +0000</pubDate>
				<wikidot:authorName>GoVegan</wikidot:authorName>				<wikidot:authorUserId>35113</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>TI-Connect (<a href="http://education.ti.com/educationportal/appsdelivery/download/save_download.jsp?cid=us&amp;countryid=US&amp;isocode=EN&amp;contentpaneid=7&amp;applicationid=183&amp;softwareid=6599&amp;inputpage=I">download here</a>) doesn't let you create or convert programs, it just lets you transfer programs to and from the calculator. The program you need to modify/create/convert programs is TI-Graph Link (<a href="http://tibasicdev.wikidot.com/local--files/downloads/graphlink.zip">download here</a>).</p> <p><strong><em>Cheers ~ James Kanjo</em></strong></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-54463#post-149141</guid>
				<title>Re: variable labels?</title>
				<link>http://tibasicdev.wikidot.com/forum/t-54463/variable-labels#post-149141</link>
				<description></description>
				<pubDate>Sun, 20 Apr 2008 21:29:03 +0000</pubDate>
				<wikidot:authorName>Socks</wikidot:authorName>				<wikidot:authorUserId>46434</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>First you have to find and download it&#8230; it's somewhere on TI's site.</p> <p>It's pretty self-explanatory once you have it, though.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-54463#post-149137</guid>
				<title>Re: variable labels?</title>
				<link>http://tibasicdev.wikidot.com/forum/t-54463/variable-labels#post-149137</link>
				<description></description>
				<pubDate>Sun, 20 Apr 2008 21:19:01 +0000</pubDate>
				<wikidot:authorName>Jonathan King</wikidot:authorName>				<wikidot:authorUserId>111095</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>How do you create/convert prgms with ti connect?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-54463#post-148802</guid>
				<title>Re: variable labels?</title>
				<link>http://tibasicdev.wikidot.com/forum/t-54463/variable-labels#post-148802</link>
				<description></description>
				<pubDate>Sun, 20 Apr 2008 00:01:30 +0000</pubDate>
				<wikidot:authorName>burr</wikidot:authorName>				<wikidot:authorUserId>740</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I know this is nitpicking, but you don't need to store the string to a variable or use a list for the positions in your second example. This one-liner suffices:</p> <div class="code"> <pre><code>:Disp sub(&quot;AAAABBBBCCCCDDDD&quot;,4randInt(1,4)-3,4</code></pre></div> <p>That example is useful, though, because it shows the other way to approach putting the fortunes in a string. You can make all of the fortunes the same length by padding them with spaces, and then it's a constant length and starting position. Here is an example using different animal types:</p> <div class="code"> <pre><code>// NOTE: Spacing goes 3 spaces, 2 spaces, and 1 space :Disp sub(&quot;DOG FISH MOUSE RABBIT&quot;,6randInt(1,4)-5,6</code></pre></div> <p>While this approach works quite nice for a few fortunes, I'm not really sure how effective it would be with forty fortunes, and that's why I suggested using a list with all of the starting positions and fortune lengths. Then you can just access the appropriate list position like Socks was doing in his second example.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-54463#post-148793</guid>
				<title>Re: variable labels?</title>
				<link>http://tibasicdev.wikidot.com/forum/t-54463/variable-labels#post-148793</link>
				<description></description>
				<pubDate>Sat, 19 Apr 2008 23:29:11 +0000</pubDate>
				<wikidot:authorName>Socks</wikidot:authorName>				<wikidot:authorUserId>46434</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>For a simple example,</p> <div class="code"> <pre><code>&quot;HELLOWORLD&quot;→Str1 sub(Str1,1,5)+&quot;, &quot;+sub(Str1,6,5→Str1 //a comma and a space Output(1,1,Str1</code></pre></div> <p>What Burr suggested is done as follows:</p> <div class="code"> <pre><code>&quot;AAAABBBBCCCCDDDD→Str1 {1,5,9,13→L₁ RandInt(1,4 Disp sub(Str1,L₁(Ans),4</code></pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-54463#post-148772</guid>
				<title>Re: variable labels?</title>
				<link>http://tibasicdev.wikidot.com/forum/t-54463/variable-labels#post-148772</link>
				<description></description>
				<pubDate>Sat, 19 Apr 2008 22:29:01 +0000</pubDate>
				<wikidot:authorName>Jonathan King</wikidot:authorName>				<wikidot:authorUserId>111095</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>how do I do that? I can't figure out how to write programs. Btw, thanks for the response.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-54463#post-148694</guid>
				<title>Re: variable labels?</title>
				<link>http://tibasicdev.wikidot.com/forum/t-54463/variable-labels#post-148694</link>
				<description></description>
				<pubDate>Sat, 19 Apr 2008 18:02:56 +0000</pubDate>
				<wikidot:authorName>burr</wikidot:authorName>				<wikidot:authorUserId>740</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>One optimization you might want to consider is placing all of the fortunes in a <a href="http://tibasicdev.wikidot.com/strings">string</a>, along with storing the starting positions and fortune lengths in a <a href="http://tibasicdev.wikidot.com/lists">list</a>, and then just accessing the appropriate one using the <a href="http://tibasicdev.wikidot.com/sub">sub(</a> command.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-54463#post-148399</guid>
				<title>Re: variable labels?</title>
				<link>http://tibasicdev.wikidot.com/forum/t-54463/variable-labels#post-148399</link>
				<description></description>
				<pubDate>Sat, 19 Apr 2008 02:22:06 +0000</pubDate>
				<wikidot:authorName>symaxian</wikidot:authorName>				<wikidot:authorUserId>33531</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Yea the Lbl wont accept that, sucks but its true, If's are probably the simplest way to go.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-54463#post-148366</guid>
				<title>Re: variable labels?</title>
				<link>http://tibasicdev.wikidot.com/forum/t-54463/variable-labels#post-148366</link>
				<description></description>
				<pubDate>Sat, 19 Apr 2008 00:20:23 +0000</pubDate>
				<wikidot:authorName>GoVegan</wikidot:authorName>				<wikidot:authorUserId>35113</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>A limitation which can't be avoided, I'm afraid.</p> <p>Do you have a computer-calculator cord? If yes, then use the TI-Connect application (on the downloads section of this site) and drag the programs from the calculator to a folder on the computer. They are automatically turned into 8xp files.</p> <p>But if you mean completely on the computer, use the TI-Graph Link software (also available for download) to write your programs, click &quot;Save As&#8230;&quot; and change the export format to .8xp.</p> <p><strong><em>Cheers ~ James Kanjo</em></strong></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-54463#post-148361</guid>
				<title>variable labels?</title>
				<link>http://tibasicdev.wikidot.com/forum/t-54463/variable-labels#post-148361</link>
				<description></description>
				<pubDate>Sat, 19 Apr 2008 00:09:31 +0000</pubDate>
				<wikidot:authorName>Jonathan King</wikidot:authorName>				<wikidot:authorUserId>111095</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I was making a magic 8 ball game, with a randint feature, and I want to know if there's any way to redirect to label x</p> <p>heres my current code:<br /> randint(1,40<br /> If Ans=1<br /> Disp&quot;somethingsomething<br /> If Ans=2<br /> Disp&quot;something<br /> so on till<br /> If Ans=40</p> <p>I could save space if I could enter something like this:</p> <p>randint(1,40<br /> Goto Lbl(Ans<br /> Lbl 1<br /> whatever<br /> Lbl 2</p> <p>Any thoughts?</p> <p>btw&#8230;<br /> how do I create 8xp files on the computer?</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>