<?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 Conversion Utility</title>
		<link>http://gamedesign.wikidot.com/forum/t-7618/simple-conversion-utility</link>
		<description>Posts in the discussion thread &quot;Simple Conversion Utility&quot; - text version</description>
				<copyright></copyright>
		<lastBuildDate>Tue, 17 Mar 2026 04:05:58 +0000</lastBuildDate>
		
					<item>
				<guid>http://gamedesign.wikidot.com/forum/t-7618#post-17592</guid>
				<title>Re: Simple Conversion Utility</title>
				<link>http://gamedesign.wikidot.com/forum/t-7618/simple-conversion-utility#post-17592</link>
				<description></description>
				<pubDate>Sat, 14 Apr 2007 15:42:17 +0000</pubDate>
				<wikidot:authorName>phatty</wikidot:authorName>				<wikidot:authorUserId>15441</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>ahhhh!!! i see, so then there is no need for that table, then since i did the math in each seperate line? is there someway to do the equation in a table(just once) like the one i just deleted? also i under stand about skipping the whole 'p * 1, o * 1, g * 1' but after i thought about it(during the &quot;hi! im a noob&quot; stage b4 it was functional) I just thought about my own preferences and decided to go ahead and leave it in there. but my preferences change overnight(literally) when i posted the text version i said i prefered it but after using it a few(dozens) times i started respecting the ease of the integer input!!!! so basically i had already factored that in when i designed it and for now I'm pretty sure the 1.0 release is gonna have it. I do respect every1s opinion (unless it conflicts with mine!!!!j/k hehe) and appreciate the criticism though? as for my &quot;p = z * 16 = r * 448<br /> z = p / 16 = r * 28<br /> r = z / 28 = p / 448 consider it gone!!!!</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamedesign.wikidot.com/forum/t-7618#post-17561</guid>
				<title>Re: Simple Conversion Utility</title>
				<link>http://gamedesign.wikidot.com/forum/t-7618/simple-conversion-utility#post-17561</link>
				<description></description>
				<pubDate>Sat, 14 Apr 2007 07:46:01 +0000</pubDate>
				<wikidot:authorName>hartnell</wikidot:authorName>				<wikidot:authorUserId>10978</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Articoz pointed out that this code may not cause errors, but it's also not doing anything either as you are doing your actual unit conversion later on. You should be able to just remove this from the source</p> <div class="code"> <pre><code>p = z * 16 = r * 448 z = p / 16 = r * 28 r = z / 28 = p / 448</code></pre></div> <p>He also posted an improved version of your code, which is here :</p> <div class="code"> <pre><code>Print &quot; Welcome to Simple Conversion Utility(version0.1b)&quot; Print &quot; Developed by: PhatDawg Software Development Te(I)am (PDSDT)&quot; Locate 11 Print &quot;This program was designed to help convert weights and measurements&quot; Locate 23, 27 Print &quot;press any key to continue&quot; While Inkey$ = &quot;&quot;: Wend Cls main: Locate 4 Print &quot;Choose form to convert from by pressing one of the following:&quot; Print &quot;Type the number '1' for Pounds(lbs)&quot; Print &quot;Type the number '2' Ounces(oz)&quot; Print &quot;Type the number '3' for Grams(gr)&quot; Print Print &quot;Then Press [enter] on your keyboard&quot; Print Dim As Integer choice, lbs, oz, gr Dim As Double l, o, g Dim new As String Input &quot;Please make a choice:&quot;; choice If choice = 1 Then Input &quot;How many pounds&quot;; lbs Goto conv1 Elseif choice = 2 Then Input &quot;How many ounces&quot;; oz Goto conv2 Elseif choice = 3 Then Input &quot;How many grams&quot;; gr Goto conv3 Else Cls Print &quot;Please enter either: 1, 2, or 3&quot; Print &quot;press any key to continue&quot; While Inkey$ = &quot;&quot;: Wend Cls Goto main End If conv1: Print &quot;What would you like to convert to? &quot; Print &quot;Type the number '2' Ounces(oz)&quot; Print &quot;Type the number '3' for Grams(gr)&quot; Print Print &quot;Then Press [enter] on your keyboard&quot; Print Print Input &quot;Please make a choice:&quot;; l if l = 2 Then Print &quot;Total is: &quot;; lbs * 16 Elseif l = 3 Then Print &quot;Total is: &quot;; lbs * 448 Else Cls Print &quot;Please enter either: 2, or 3&quot; Print &quot;press any key to continue&quot; While Inkey$ = &quot;&quot;: Wend Cls Goto conv1 End If While Inkey$ = &quot;&quot;: Wend Goto pass conv2: Print &quot;What would you like to convert to? &quot; Print &quot;Type the number '1' for Pounds(lbs)&quot; Print &quot;Type the number '3' for Grams(gr)&quot; Print Print &quot;Then Press [enter] on your keyboard&quot; Print Print Input &quot;Please make a choice:&quot;; o If o = 1 Then Print &quot;Total is: &quot;; oz / 16 Elseif o = 3 Then Print &quot;Total is: &quot;; oz * 28 Else Cls Print &quot;Please enter either: 1, or 3&quot; Print &quot;press any key to continue&quot; While Inkey$ = &quot;&quot;: Wend Cls Goto conv2 End If While Inkey$ = &quot;&quot;: Wend Goto pass conv3: Print &quot;What would you like to convert to? &quot; Print &quot;Type the number '1' for Pounds(lbs)&quot; Print &quot;Type the number '2' Ounces(oz)&quot; Print Print &quot;Then Press [enter] on your keyboard&quot; Print Print Input &quot;Please make a choice:&quot;; g If g = 1 Then Print &quot;Total is: &quot;; gr / 448 Elseif g = 2 Then Print &quot;Total is: &quot;; gr / 28 Else Cls Print &quot;Please enter either: 1, or 2&quot; Print &quot;press any key to continue&quot; While Inkey$ = &quot;&quot;: Wend Cls Goto conv3 End If While Inkey$ = &quot;&quot;: Wend Goto pass pass: Cls Input &quot;Would you like to do another conversion (Y/N)&quot;; new If new = &quot;y&quot; Then Goto main Elseif new = &quot;n&quot; Then Print &quot;Thank you for using Sack Master! Goodbye. Print &quot;Press any key to exit&quot; Else Print &quot;Please push either Y/N and press enter&quot; Print &quot;press any key to continue&quot; While Inkey$ = &quot;&quot;: Wend Cls Goto pass End If While Inkey$ = &quot;&quot;: Wend</code></pre></div> <p>-hartnell</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamedesign.wikidot.com/forum/t-7618#post-17534</guid>
				<title>Simple Conversion Utility</title>
				<link>http://gamedesign.wikidot.com/forum/t-7618/simple-conversion-utility#post-17534</link>
				<description></description>
				<pubDate>Sat, 14 Apr 2007 00:45:11 +0000</pubDate>
				<wikidot:authorName>phatty</wikidot:authorName>				<wikidot:authorUserId>15441</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>here is the text input version of my 1st program i think its a little more work(both for user and programmer) to type the abbr (lbs, oz&#8230;. etc) than to type the integer(1,2,3) but its less tacky, so i myself prefer the txt version! with that being said :</p> <div class="code"> <pre><code>Print &quot; Welcome to Simple Conversion Utility(version0.1b)&quot; Print &quot; Developed by: PhatDawg Software Development Te(I)am (PDSDT)&quot; Locate 11 Print &quot;This program was designed to help convert weights and measurements&quot; Locate 23, 27 Print &quot;press any key to continue&quot; While Inkey$ = &quot;&quot;: Wend Cls main: Locate 4 Print &quot;Choose form to convert from by pressing one of the following:&quot; Print &quot;Type 'lbs' for Pounds&quot; Print &quot;Type 'oz' Ounces&quot; Print &quot;Type 'gr' for Grams&quot; Print Print &quot;Then Press [enter] on your keyboard&quot; Print Dim As Double p, z, r Dim As String choice, l, o, g, y, n, new Input &quot;Please make a choice:&quot;, choice If choice = &quot;lbs&quot; Then Input &quot;How many pounds?&quot;, p Goto conv1 Elseif choice = &quot;oz&quot; Then Input &quot;How many ounces?&quot;, z Goto conv2 Elseif choice = &quot;gr&quot; Then Input &quot;How many grams?&quot;, r Goto conv3 Else Cls Print &quot;Please enter either: lbs, oz, or gr&quot; Print &quot;press any key to continue&quot; While Inkey$ = &quot;&quot;: Wend Cls Goto main End If p = z * 16 = r * 448 z = p / 16 = r * 28 r = z / 28 = p / 448 conv1: Print &quot;What would you like to convert to? &quot; Print &quot;Type 'lbs' for Pounds&quot; Print &quot;Type 'oz' Ounces&quot; Print &quot;Type 'gr' for Grams&quot; Print Print &quot;Then Press [enter] on your keyboard&quot; Print Print Input &quot;Please make a choice:&quot;, l If l = &quot;lbs&quot; Then Print &quot;Total is: &quot;; p * 1; &quot;pounds&quot; Elseif l = &quot;oz&quot; Then Print &quot;Total is: &quot;; p * 16; &quot;ounces&quot; Elseif l = &quot;gr&quot; Then Print &quot;Total is: &quot;; p * 448; &quot;grams&quot; Else Cls Print &quot;Please enter either: lbs, oz, or gr&quot; Print &quot;press any key to continue&quot; While Inkey$ = &quot;&quot;: Wend Cls Goto conv1 End If While Inkey$ = &quot;&quot;: Wend Goto pass conv2: Print &quot;What would you like to convert to? &quot; Print &quot;Type 'lbs' for Pounds&quot; Print &quot;Type 'oz' Ounces&quot; Print &quot;Type 'gr' for Grams&quot; Print Print &quot;Then Press [enter] on your keyboard&quot; Print Print Input &quot;Please make a choice:&quot;, o If o = &quot;lbs&quot; Then Print &quot;Total is: &quot;; z / 16; &quot;pounds&quot; Elseif o = &quot;oz&quot; Then Print &quot;Total is: &quot;; z * 1; &quot;ounces&quot; Elseif o = &quot;gr&quot; Then Print &quot;Total is: &quot;; z * 28; &quot;grams&quot; Else Cls Print &quot;Please enter either: lbs, oz, or gr&quot; Print &quot;press any key to continue&quot; While Inkey$ = &quot;&quot;: Wend Cls Goto conv2 End If While Inkey$ = &quot;&quot;: Wend Goto pass conv3: Print &quot;What would you like to convert to? &quot; Print &quot;Type 'lbs' for Pounds&quot; Print &quot;Type 'oz' Ounces&quot; Print &quot;Type 'gr' for Grams&quot; Print Print &quot;Then Press [enter] on your keyboard&quot; Print Print Input &quot;Please make a choice:&quot;, g If g = &quot;lbs&quot; Then Print &quot;Total is: &quot;; r / 448; &quot;pounds&quot; Elseif g = &quot;oz&quot; Then Print &quot;Total is: &quot;; r / 28; &quot;ounces&quot; Elseif g = &quot;gr&quot; Then Print &quot;Total is: &quot;; r * 1; &quot;grams&quot; Else Cls Print &quot;Please enter either: lbs, oz, or gr&quot; Print &quot;press any key to continue&quot; While Inkey$ = &quot;&quot;: Wend Cls Goto conv3 End If While Inkey$ = &quot;&quot;: Wend Goto pass pass: Cls Input &quot;Would you like to do another conversion (Y/N)?&quot;, new If new = &quot;y&quot; Then Goto main Elseif new = &quot;n&quot; Then Print &quot;Thank you for using S.C.U.! Goodbye.&quot; Print &quot;Press any key to exit&quot; Else Print &quot;Please push either Y/N and press enter&quot; Print &quot;press any key to continue&quot; While Inkey$ = &quot;&quot;: Wend Cls Goto pass End If While Inkey$ = &quot;&quot;: Wend</code></pre></div> <p>again all criticism is welcome</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>