<?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>ASCII-World - new forum posts</title>
		<link>http://www.ascii-world.com/forum/start</link>
		<description>Posts in forums of the site &quot;ASCII-World&quot; - One Stop ASCII Central Website; Games, Art, All</description>
				<copyright></copyright>
		<lastBuildDate></lastBuildDate>
		
					<item>
				<guid>http://www.ascii-world.com/forum/t-42543#post-198837</guid>
				<title>Re: PCOPY! #70 Submission Deadline</title>
				<link>http://www.ascii-world.com/forum/t-42543/pcopy-70-submission-deadline#post-198837</link>
				<description></description>
				<pubDate>Tue, 17 Jun 2008 16:27:34 +0000</pubDate>
				<wikidot:authorName>85.157.48.67</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Oh boy, i were at holidays and i didnt leave a list of places to my partner where to post about new release of PCopy. My bad, but enjoy <a href="http://forum.basicprogramming.org/index.php?topic=274.0">http://forum.basicprogramming.org/index.php?topic=274.0</a> :)</p> <p><em>E.K.Virtanen</em></p> <br/>Forum category: <a href="http://www.ascii-world.com/forum/c-9935">General board. / Coffee table.</a><br/>Forum thread: <a href="http://www.ascii-world.com/forum/t-42543/pcopy-70-submission-deadline">PCOPY! #70 Submission Deadline</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.ascii-world.com/forum/t-67745#post-197373</guid>
				<title>Files and images back online.</title>
				<link>http://www.ascii-world.com/forum/t-67745/files-and-images-back-online#post-197373</link>
				<description></description>
				<pubDate>Mon, 16 Jun 2008 16:09:48 +0000</pubDate>
				<wikidot:authorName>EKVirtanen</wikidot:authorName>				<wikidot:authorUserId>12785</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>In past few weeks, there has been problems with file hosting of ASCII-World.<br /> Problems should be now solved and files + images are back online.</p> <p><em>E.K.Virtanen</em></p> <br/>Forum category: <a href="http://www.ascii-world.com/forum/c-9929">ASCII-World News / Latest news.</a><br/>Forum thread: <a href="http://www.ascii-world.com/forum/t-67745/files-and-images-back-online">Files and images back online.</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.ascii-world.com/forum/t-65147#post-196952</guid>
				<title>Re: Ascii/Ansi compo</title>
				<link>http://www.ascii-world.com/forum/t-65147/ascii-ansi-compo#post-196952</link>
				<description></description>
				<pubDate>Mon, 16 Jun 2008 09:39:02 +0000</pubDate>
				<wikidot:authorName>85.157.48.67</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Neat one. Though i noticed this now since i was at holiday last two weeks.</p> <p><em>E.K.Virtanen</em></p> <br/>Forum category: <a href="http://www.ascii-world.com/forum/c-9934">ASCII board. / Other ASCII.</a><br/>Forum thread: <a href="http://www.ascii-world.com/forum/t-65147/ascii-ansi-compo">Ascii/Ansi compo</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.ascii-world.com/forum/t-65147#post-184960</guid>
				<title>Ascii/Ansi compo</title>
				<link>http://www.ascii-world.com/forum/t-65147/ascii-ansi-compo#post-184960</link>
				<description></description>
				<pubDate>Fri, 06 Jun 2008 20:41:25 +0000</pubDate>
				<wikidot:authorName>zefyros</wikidot:authorName>				<wikidot:authorUserId>139865</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Please visit <a href="http://www.disassembly.tk">disassembly.tk</a> and participate with your stuff.<br /> There's a week time left: deadline on Saturday the 14th of June.<br /> Two part ASCII-compo, freestyle ANSI and tracked Adlib music competitions.<br /> So, if there's some activity on this site or in the ASCII-scene, now it's time to shine<br /> If have any questions, please ask.<br /> Cheers.</p> <br/>Forum category: <a href="http://www.ascii-world.com/forum/c-9934">ASCII board. / Other ASCII.</a><br/>Forum thread: <a href="http://www.ascii-world.com/forum/t-65147/ascii-ansi-compo">Ascii/Ansi compo</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.ascii-world.com/forum/t-63162#post-176588</guid>
				<title>Re: fbTUI</title>
				<link>http://www.ascii-world.com/forum/t-63162/fbtui#post-176588</link>
				<description></description>
				<pubDate>Sat, 31 May 2008 20:50:15 +0000</pubDate>
				<wikidot:authorName>85.157.48.167</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Hi man. Been while since last time heard of you.<br /> Been quiet at a-w.com. We mostly talk at basicprogramming.org.</p> <p>Your tui sounds interesting. Im in need of one soon ;)<br /> See link for more <a href="http://forum.basicprogramming.org/index.php?topic=242.0">http://forum.basicprogramming.org/index.php?topic=242.0</a></p> <p>E.K.Virtanen</p> <br/>Forum category: <a href="http://www.ascii-world.com/forum/c-9933">ASCII board. / Software.</a><br/>Forum thread: <a href="http://www.ascii-world.com/forum/t-63162/fbtui">fbTUI</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.ascii-world.com/forum/t-63162#post-175563</guid>
				<title>fbTUI</title>
				<link>http://www.ascii-world.com/forum/t-63162/fbtui#post-175563</link>
				<description></description>
				<pubDate>Fri, 30 May 2008 18:55:23 +0000</pubDate>
				<wikidot:authorName>rickclark58</wikidot:authorName>				<wikidot:authorUserId>12672</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hey Folks,</p> <p>Still no internet connect yet I'm afraid. Hopefully, soon.</p> <p>However, I haven't been just laying around. :) While working on a couple of programs, I decided that I needed an easy to use gui system for FB. Since there really isn't one (that I know of) that is written in pure FB, I decided to write my own. Right now I have the main desk object and menu object working. The desk object is the core gui object that is the container for the menu and window objects. The window object is a container for the different control objects such as a textbox, label, button, etc. The syntax is quite easy to use. For example:</p> <p>sub MessageHandler (objID as integer, e as EVENT)</p> <p>'handle message</p> <p>end sub</p> <p>dim mydesk as desk = desk([options])</p> <p>CreatMenu [options]<br /> AddNewMenuItem [options]<br /> …<br /> desk.menu.ShowMenu<br /> desk.ProcessMessage = @MessageHandler<br /> desk.ShowDesk<br /> desk.Run</p> <p>The run command enters into the gui message loop. The MessageHandler sub is a user defined sub that you would use to handle any messages generated by the system. The objID is the id of the object you used when you created the object and the e as EVENT is the FB ScreenEvent record that is passed from the desk message loop. You pass the address of your message handler to the desk ProcessMessage before you run the desk object.</p> <p>Next time I can get online I'll post some screen shots.</p> <br/>Forum category: <a href="http://www.ascii-world.com/forum/c-9933">ASCII board. / Software.</a><br/>Forum thread: <a href="http://www.ascii-world.com/forum/t-63162/fbtui">fbTUI</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.ascii-world.com/forum/t-52954#post-143829</guid>
				<title>Re: I am still alive</title>
				<link>http://www.ascii-world.com/forum/t-52954/i-am-still-alive#post-143829</link>
				<description></description>
				<pubDate>Sat, 12 Apr 2008 20:23:09 +0000</pubDate>
				<wikidot:authorName>85.157.48.167</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Hi rdc.<br /> You cant even imagine how damn much i have wondered where the hell you are.<br /> Good to know youre still kicking :)</p> <p>Your projects sounds darn interesting (as usual), specially that book is something i would love to read. Game sounds HUGE. I want to know more details, and now i got to wait a whole month here?</p> <p>Anyway, hopefully we get you back soon.</p> <p>E.K.Virtanen</p> <br/>Forum category: <a href="http://www.ascii-world.com/forum/c-9935">General board. / Coffee table.</a><br/>Forum thread: <a href="http://www.ascii-world.com/forum/t-52954/i-am-still-alive">I am still alive</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.ascii-world.com/forum/t-52954#post-143345</guid>
				<title>I am still alive</title>
				<link>http://www.ascii-world.com/forum/t-52954/i-am-still-alive#post-143345</link>
				<description></description>
				<pubDate>Fri, 11 Apr 2008 21:13:58 +0000</pubDate>
				<wikidot:authorName>rickclark58</wikidot:authorName>				<wikidot:authorUserId>12672</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hey Guys,</p> <p>Just a little note to let you know I am still kicking. I will, hopefully, have my own connection next month some time. I have had a hard time finding an ISP that I could afford down here in Austin.</p> <p>Even though I haven't been online, I have been working on a few things. I have an ascii (of course) space trading game in the works. Over 500 computer generated star systems to explore, numerous alien races, full economics model including banking and stock market, trade legally or smuggle or both, tactical combat system, create a space corporation or remain small and mobile, with open-ended game play. The object is to gain a least a billion credits but you play the game as long as you like.</p> <p>I am also kicking around the idea of a book on rogue-like development using ascii. There might be a small market for that type of book since people are still interested in RL development. We'll see how that goes.</p> <p>I hope everyone is well. See you all soon.</p> <p>Rick</p> <br/>Forum category: <a href="http://www.ascii-world.com/forum/c-9935">General board. / Coffee table.</a><br/>Forum thread: <a href="http://www.ascii-world.com/forum/t-52954/i-am-still-alive">I am still alive</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.ascii-world.com/forum/t-12520#post-140409</guid>
				<title>Re: ASCII Nudes Collection</title>
				<link>http://www.ascii-world.com/forum/t-12520/ascii-nudes-collection#post-140409</link>
				<description></description>
				<pubDate>Mon, 07 Apr 2008 21:31:25 +0000</pubDate>
				<wikidot:authorName>67.181.163.118</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>It was expanded today significantly from 30 pieces to a whopping 100 pieces. Enjoy!</p> <br/>Forum category: <a href="http://www.ascii-world.com/forum/c-9932">ASCII board. / Websites.</a><br/>Forum thread: <a href="http://www.ascii-world.com/forum/t-12520/ascii-nudes-collection">ASCII Nudes Collection</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.ascii-world.com/forum/t-42543#post-140104</guid>
				<title>Re: PCOPY! #70 Submission Deadline</title>
				<link>http://www.ascii-world.com/forum/t-42543/pcopy-70-submission-deadline#post-140104</link>
				<description></description>
				<pubDate>Mon, 07 Apr 2008 15:14:08 +0000</pubDate>
				<wikidot:authorName>85.157.48.167</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Hi peoples.</p> <p>We are not dead, actually we are planning to release next issue of PCopy! e-zine (issue #70) at the end of this month.<br /> All contributions are welcomed, as usual :) We cant do this with out you folks.</p> <p>MystikShadows is a editor in chief for this issue, but e-zine is the same as allways.</p> <p>PCopy! website is at <a href="http://pcopy.wikidot.com/">http://pcopy.wikidot.com/</a> and you can contribute articles, editorials, letters, comics, reviews, previews, news and everything to <span class="wiki-email">moc.liamg|ffats.ypocp#moc.liamg|ffats.ypocp</span></p> <p>Alternative emails;<br /> <span class="wiki-email">moc.liamg|dlrowiicsa#moc.liamg|dlrowiicsa</span><br /> <span class="wiki-email">moc.liamg|swodahskitsym#moc.liamg|swodahskitsym</span></p> <p>E.K.Virtanen, da Mystiks little helper.</p> <br/>Forum category: <a href="http://www.ascii-world.com/forum/c-9935">General board. / Coffee table.</a><br/>Forum thread: <a href="http://www.ascii-world.com/forum/t-42543/pcopy-70-submission-deadline">PCOPY! #70 Submission Deadline</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.ascii-world.com/forum/t-46451#post-123745</guid>
				<title>3 years full.</title>
				<link>http://www.ascii-world.com/forum/t-46451/3-years-full#post-123745</link>
				<description></description>
				<pubDate>Wed, 12 Mar 2008 16:22:04 +0000</pubDate>
				<wikidot:authorName>EKVirtanen</wikidot:authorName>				<wikidot:authorUserId>12785</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>ASCII-World had it's 3'rd anniversary at March 5'th. 1094 days line was passed then. Currently age of ASCII-World in days is over 1100. Precise number today is 1101.</p> <p>I am glad now after looking around programming websites around the web. Resources of computers does get better all the time and learning to make 2D and 3D graphics gets easier in same speed.<br /> Still, new ASCII applications does pop-up nearly every week.</p> <p>How come this is possible? Why newbies does still start with ASCII when simple 2D is easy to do after few weeks of learning?</p> <p>I have allways thought that ASCII game is like a book. Book cant beat the movie? Maybe because it does leave visual part of the fun for reader? In same way, i think ASCII games does work.<br /> Game is the story and the action, but visual side comes from your own imagination. There is no way 3D can beat that?</p> <p style="text-align: center;"><iframe src="http://www.shnetworks4.net/~asciiwor/downloads/rand.php" align="midle" frameborder="0" height="300" scrolling="no" width="" class="" style=""></iframe></p> <p><em>E.K.Virtanen</em></p> <br/>Forum category: <a href="http://www.ascii-world.com/forum/c-9929">ASCII-World News / Latest news.</a><br/>Forum thread: <a href="http://www.ascii-world.com/forum/t-46451/3-years-full">3 years full.</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.ascii-world.com/forum/t-46386#post-123557</guid>
				<title>Domain is back.</title>
				<link>http://www.ascii-world.com/forum/t-46386/domain-is-back#post-123557</link>
				<description></description>
				<pubDate>Wed, 12 Mar 2008 12:03:31 +0000</pubDate>
				<wikidot:authorName>EKVirtanen</wikidot:authorName>				<wikidot:authorUserId>12785</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Time goes fast. I did pay bills for our domain ascii-world.com two days too late. This why, it did took nearly a week until we got it back to work.<br /> At any point, there were no danger for loosing it to some other person.</p> <p>E.K.Virtanen</p> <br/>Forum category: <a href="http://www.ascii-world.com/forum/c-9929">ASCII-World News / Latest news.</a><br/>Forum thread: <a href="http://www.ascii-world.com/forum/t-46386/domain-is-back">Domain is back.</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.ascii-world.com/forum/t-42543#post-110792</guid>
				<title>PCOPY! #70 Submission Deadline</title>
				<link>http://www.ascii-world.com/forum/t-42543/pcopy-70-submission-deadline#post-110792</link>
				<description></description>
				<pubDate>Wed, 20 Feb 2008 23:33:31 +0000</pubDate>
				<wikidot:authorName>MystikShadows</wikidot:authorName>				<wikidot:authorUserId>11043</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>The new deadline is set for March 24th and the release planned during the week after.</p> <p>There's still time, but there's no point waiting for the last day ;-). So get cracking folks (your knuckles that is) and start writing up the goods. The earlier the better.</p> <p>I have one contribution and planning on a few more. at least.</p> <br/>Forum category: <a href="http://www.ascii-world.com/forum/c-9935">General board. / Coffee table.</a><br/>Forum thread: <a href="http://www.ascii-world.com/forum/t-42543/pcopy-70-submission-deadline">PCOPY! #70 Submission Deadline</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.ascii-world.com/forum/t-34486#post-88896</guid>
				<title>PCopy! #60 is released.</title>
				<link>http://www.ascii-world.com/forum/t-34486/pcopy-60-is-released#post-88896</link>
				<description></description>
				<pubDate>Wed, 09 Jan 2008 08:08:53 +0000</pubDate>
				<wikidot:authorName>EKVirtanen</wikidot:authorName>				<wikidot:authorUserId>12785</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Issue #60 is out.<br /> <a href="http://www.shnetworks4.net/~asciiwor/pcopy/issue60/">HTML</a> and <a href="http://www.shnetworks4.net/~asciiwor/pcopy/issue60/PCopy60.zip">.zip</a>.</p> <br/>Forum category: <a href="http://www.ascii-world.com/forum/c-9935">General board. / Coffee table.</a><br/>Forum thread: <a href="http://www.ascii-world.com/forum/t-34486/pcopy-60-is-released">PCopy! #60 is released.</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.ascii-world.com/forum/t-29529#post-81959</guid>
				<title>Re: PCopy! #60 deadline is closing.</title>
				<link>http://www.ascii-world.com/forum/t-29529/pcopy-60-deadline-is-closing#post-81959</link>
				<description></description>
				<pubDate>Wed, 19 Dec 2007 17:16:56 +0000</pubDate>
				<wikidot:authorName>85.157.185.254</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>There is still one major article badly under work and interview is 70% finished.<br /> Fact is i cant make this happen before christmas.<br /> I have work everyday until saturday, when i do wake up at 03:45am since i got to be at work like 5am.<br /> Right after i get back home, we need to drive to my hometown, bit over 250km.</p> <p>Since situation is this, i can only move deadline at 2'nd of January 2008. This is only way to make sure there is enough time to do and build next issue so its not bug hell.</p> <p>Sorry.</p> <p>E.K.Virtanen</p> <br/>Forum category: <a href="http://www.ascii-world.com/forum/c-9935">General board. / Coffee table.</a><br/>Forum thread: <a href="http://www.ascii-world.com/forum/t-29529/pcopy-60-deadline-is-closing">PCopy! #60 deadline is closing.</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.ascii-world.com/forum/t-30537#post-77763</guid>
				<title>Important notice about our file host.</title>
				<link>http://www.ascii-world.com/forum/t-30537/important-notice-about-our-file-host#post-77763</link>
				<description></description>
				<pubDate>Mon, 10 Dec 2007 09:52:17 +0000</pubDate>
				<wikidot:authorName>EKVirtanen</wikidot:authorName>				<wikidot:authorUserId>12785</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>All files, images and related what are hosted at <a href="http://www.shnetworks2.net">http://www.shnetworks2.net</a> has now moved to <a href="http://www.shnetworks4.net">http://www.shnetworks4.net</a>.<br /> I have tried to change correct url everywhere but there is slight chance that i forgot something.</p> <p>In that case, just change "2" to "4" in url and you should be ok to go.<br /> Ill try to check everything in this day.</p> <p>E.K.Virtanen</p> <br/>Forum category: <a href="http://www.ascii-world.com/forum/c-9929">ASCII-World News / Latest news.</a><br/>Forum thread: <a href="http://www.ascii-world.com/forum/t-30537/important-notice-about-our-file-host">Important notice about our file host.</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.ascii-world.com/forum/t-30444#post-77497</guid>
				<title>More Pascal related links.</title>
				<link>http://www.ascii-world.com/forum/t-30444/more-pascal-related-links#post-77497</link>
				<description></description>
				<pubDate>Sun, 09 Dec 2007 14:27:19 +0000</pubDate>
				<wikidot:authorName>EKVirtanen</wikidot:authorName>				<wikidot:authorUserId>12785</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I have just added three new links at <a href="http://www.ascii-world.com/pascal-related-links">Pascal Related Links</a>.<br /> All are links to tutorials which i think are really good ones.</p> <p>E.K.Virtanen</p> <br/>Forum category: <a href="http://www.ascii-world.com/forum/c-9930">ASCII-World News / Updates, fixes etc.</a><br/>Forum thread: <a href="http://www.ascii-world.com/forum/t-30444/more-pascal-related-links">More Pascal related links.</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.ascii-world.com/forum/t-29529#post-76026</guid>
				<title>Re: PCopy! #60 deadline is closing.</title>
				<link>http://www.ascii-world.com/forum/t-29529/pcopy-60-deadline-is-closing#post-76026</link>
				<description></description>
				<pubDate>Wed, 05 Dec 2007 20:15:40 +0000</pubDate>
				<wikidot:authorName>85.157.185.254</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Hi peoples.</p> <p>Just reminding you that deadline for next PCopy issue is in 10 days.<br /> To see more, check <a href="http://pcopy.wikidot.com">http://pcopy.wikidot.com</a><br /> About PCopy! in last issue in last published issue.</p> <p>All contributions at <span class="wiki-email">moc.liamg|ffats.ypocp#moc.liamg|ffats.ypocp</span><br /> Alternative emails at <a href="http://pcopy.wikidot.com/contact">http://pcopy.wikidot.com/contact</a></p> <p>Thank you. We could not do this with out you :)</p> <p>E.K.Virtanen</p> <br/>Forum category: <a href="http://www.ascii-world.com/forum/c-9935">General board. / Coffee table.</a><br/>Forum thread: <a href="http://www.ascii-world.com/forum/t-29529/pcopy-60-deadline-is-closing">PCopy! #60 deadline is closing.</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.ascii-world.com/forum/t-29719#post-75265</guid>
				<title>tinyBasic with smallBasic</title>
				<link>http://www.ascii-world.com/forum/t-29719/tinybasic-with-smallbasic#post-75265</link>
				<description></description>
				<pubDate>Tue, 04 Dec 2007 03:56:19 +0000</pubDate>
				<wikidot:authorName>85.157.185.254</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <div class="code"> <pre> <code>''' TinyBASIC, by Nicholas Christopoulos '' A SmallBASIC example :) DIM variables(26) '' variables (one for each letter) DIM stack(10) '' executor''s stack (GOSUB/FOR-NEXT/WHILE-WEND) DIM labels(), program() DEF varidx(name) = asc(left(name))-65 ip = -1 '' next command to execute (-1 = none, -2 = error) sp = 0 '' stack pointer CLS print cat(2);"TinyBASIC v1";cat(-2) print "A 450-line (with expression parser) SmallBASIC example" print print "Type HELP for catalog." print "Type QUIT to exit..." print print "READY" print repeat input "&gt; ", inpstr inpstr = trim(upper(inpstr)) cmd = trim(leftof(inpstr+" ", " ")) '' get command name if len(cmd) par = trim(rightof(inpstr, " ")) if isnumber(cmd) '' store command addcmd val(cmd), par else '' execute command execute cmd, par fi fi until cmd="QUIT" end '' Store command to memory sub addcmd(num, cmd) local i, ins, rep ins = len(labels): rep = -1 for i = 0 to len(labels)-1 if labels(i) = num then rep=i:exit if labels(i) &gt; num then ins=i:exit next if rep = -1 '' new record if len(cmd) '' no error, insert (or append) insert labels, ins, num insert program, ins, cmd fi else if len(cmd) '' replace program(rep) = cmd else '' erase delete labels, rep delete program, rep fi fi end '' set value to a variable sub setvar(varname, varval) local idx if len(varname)&gt;1 TBError "ILLEGAL VARIABLES NAME, USE ONE-CHAR NAMES" else idx = varidx(varname) varval = trim(varval) if left(varvar) = chr(34) '' it is a string variables(idx) = disclose(varval) else '' it is an expression variables(idx) = tbeval(varval) fi fi end '' execute a TB command sub execute(cmd, par) local idx, i, var, vstr local parA, tstr, fstr, f, num if cmd in ["END", "NEW"] '' new program or end of program; syntax: NEW or END ip = -1 sp = 0 if cmd="NEW" erase labels, commands '' clear program dim variables(26) '' clear variables print:print "* DONE *":print fi elif cmd in ["QUIT", "REM"] '' do nothing elif cmd="LET" '' assigns a value to a variable; syntax: LET variable = expression sinput par; var, "=", vstr setvar var, vstr elif cmd="LIST" '' prints the program, syntax: LIST if len(labels) for i=0 to len(labels)-1 print using "####: &amp;"; labels(i); program(i) next else TBError "NO PROGRAM IN MEMORY" fi elif cmd="RUN" '' run the program, syntax: RUN ip = 0 while ip&lt;len(labels) last_ip = ip cmd = trim(leftof(program(ip)+" ", " ")) par = trim(rightof(program(ip), " ")) execute cmd, par if ip = -2 print "* ERROR AT ";labels(last_ip);" *" sp = 0 exit elif ip = -1 print:print "* DONE *":print sp = 0 exit else ip = ip + 1 fi wend elif cmd="INPUT" '' get a value form console, syntax: INPUT [prompt,] variable split par, ",", para, chr(34)+chr(34) use trim(x) if len(para) = 0 ip = -2 else if len(para) = 2 idx = 1 input disclose(para(i)); vstr else idx = 0 input "? ", vstr fi setvar para(idx), vstr fi elif cmd="PRINT" '' print to console, syntax: PRINT [var1 [, varN]] split par, ",", para, chr(34)+chr(34)+"()" use trim(x) for vstr in para if left(vstr)=chr(34) '' print string print disclose(vstr); " "; else '' print number (expression) print tbeval(vstr); " "; fi next print elif cmd in ["GOTO", "GOSUB"] '' Syntax: GOTO line or GOSUB line search labels, val(par), idx if idx = -1 TBError "LABEL "+par+" DOES NOT EXIST" else if cmd="GOSUB" stack(sp) = ["R", ip] '' "R" = a ''return'' command must read it sp = sp + 1 fi ip = idx-1 fi elif cmd="RETURN" '' syntax: RETURN if sp &gt; 0 sp = sp - 1 if stack(sp)(0) = "R" '' later you can add code for FOR and WHILE ip = stack(sp)(1) else TBError "STACK MESS" fi else TBError "STACK UNDERFLOW" fi elif cmd="IF" '' IF! what else?. Syntax: IF expression THEN line [ ELSE line ] sinput par; vstr, " THEN ", tstr, " ELSE ", fstr if tbeval(vstr) execute "GOTO",tstr elif len(fstr) execute "GOTO",fstr fi elif cmd="SAVE" f=disclose(par) if len(f)=0 TBError "MISSING: FILENAME" else if isarray(labels) if instr(f, ".TBAS")=0 THEN f=f+".tbas" ELSE f=leftoflast(f, ".TBAS")+".tbas" open f for output as #1 for i=0 to len(labels)-1 print #1; labels(i); " "; program(i) next close #1 print:print "* DONE *":print else TBError "NO PROGRAM IN MEMORY" fi fi elif cmd="LOAD" f=disclose(par) if len(f)=0 TBError "MISSING: FILENAME" else ip = -1 sp = 0 erase labels, commands '' clear program dim variables(26) '' clear variables if instr(f, ".TBAS")=0 THEN f=f+".tbas" ELSE f=leftoflast(f, ".TBAS")+".tbas" open f for input as #1 while not eof(1) line input #1; vstr num = leftof (vstr, " ") par = rightof(vstr, " ") addcmd val(num), par wend close #1 print:print "* DONE *":print fi elif cmd="FILES" print files("*.tbas") elif cmd="HELP" PRINT print " ";cat(2);"TinyBASIC, v1";cat(-2) PRINT print " * All variables are real numbers." print " * There are 26 variables, one for each letter" print " * INPUT return real number (not string)" print " * IF-THEN accepts only line-numbers (IF x THEN line ELSE line)" print " * PRINT uses only , as separator" PRINT print " HELP";tab(15);"This screen" print " NEW";tab(15);"New program" print " RUN";tab(15);"Run program" print " LIST";tab(15);"Prints program to screen" print " SAVE";tab(15);"Saves program to disk" print " LOAD";tab(15);"Loads a program from disk" print " FILES";tab(15);"Prints the list of TB programs" print " REM";tab(15);"Remarks" print " GOTO";tab(15);"Transfers control to ..." print " LET";tab(15);"Assigns a value to a variable" print " PRINT";tab(15);"Prints an expression" print " INPUT";tab(15);"Inputs a value" print " IF";tab(15);" " print " GOSUB";tab(15);" " print " RETURN";tab(15);" " print " END";tab(15);"Terminate the program" PRINT else TBError "BAD COMMAND" fi end '' Run-time error sub TBError(errmsg) PRINT print chr(7);"* ";errmsg;" *" PRINT ip = -2 end '' ==== expression parser ==== '' evaluate an expression def TBEval(expr) local result, rmn, c result = 0 expr = ltrim(expr) if len(expr) then logical result, expr TBEval = result end '' number def valueof(byref expr) local c, i, v for i=1 to len(expr) c = mid(expr, i, 1) if not (c in "0123456789.") then exit next if i &lt; len(expr) v = left(expr, i-1) expr = mid(expr, i) else v = expr expr = "" fi valueof = val(v) end '' operators: ( ) or value sub parenth(byref l, byref expr) local op, vname op = left(expr) if op = "(" expr = mid(expr, 2) logical l, expr if left(expr)=")" then expr = mid(expr, 2) else if op in "0123456789." l = valueof(expr) '' elif, check for function else '' variable l = variables(varidx(expr)) expr = if(len(expr)&gt;1, mid(expr, 2), "") fi fi end '' unary operators: - + NOT sub unary(byref l, byref expr) local op if left(expr,3) = "NOT" op="NOT" expr = mid(expr,4) elif left(expr,1) in ["-", "+"] op=left(expr) expr=mid(expr,2) fi parenth l, expr if op="NOT" l = NOT l elif op="-" l = -l elif op="+" '' ignore it fi end '' operators: * / sub muldiv(byref l, byref expr) local op, r unary l, expr while left(expr) in "*/" op = left(expr) expr = mid(expr, 2) unary r, expr if op = "*" l *= r elif op = "/" if r=0 TBError "DIVISION BY ZERO" else l /= r fi fi wend end '' operators: + - sub addsub(byref l, byref expr) local op, r muldiv l, expr while left(expr) in "+-" op = left(expr) expr = mid(expr, 2) muldiv r, expr if op = "+" l += r elif op = "-" l -= r fi wend end '' returns the logical operator func getlogopr(expr) local idx, op3, op2, op1 op3=["AND"] op2=["OR", "&lt;=", "&gt;=", "=&lt;", "=&gt;", "&lt;&gt;"] op1=["=", "&gt;", "&lt;"] search op3, left(expr,3), idx if idx &gt;= 0 then getlogopr=op3(idx):exit search op2, left(expr,2), idx if idx &gt;= 0 then getlogopr=op2(idx):exit search op1, left(expr,1), idx if idx &gt;= 0 then getlogopr=op1(idx):exit getlogopr="" end '' logical and comparation operators sub logical(byref l, byref expr) local op, r addsub l, expr while getlogopr(expr) &lt;&gt; "" op = getlogopr(expr) expr = mid(expr, len(op)+1) addsub r, expr if op = "AND" l = l AND r elif op = "OR" l = l OR r elif op = "=" l = (l = r) elif op = "&lt;" l = l &lt; r elif op = "&gt;" l = l &gt; r elif op = "&gt;=" or op = "=&gt;" l = l &gt;= r elif op = "&lt;=" or op = "=&lt;" l = l &lt;= r elif op = "&lt;&gt;" l = l &lt;&gt; r fi wend end '</code> </pre></div> <p><a href="http://smallbasic.sourceforge.net/?q=node/139">http://smallbasic.sourceforge.net/?q=node/139</a></p> <br/>Forum category: <a href="http://www.ascii-world.com/forum/c-9931">ASCII board. / ASCII programming.</a><br/>Forum thread: <a href="http://www.ascii-world.com/forum/t-29719/tinybasic-with-smallbasic">tinyBasic with smallBasic</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.ascii-world.com/forum/t-29529#post-74765</guid>
				<title>PCopy! #60 deadline is closing.</title>
				<link>http://www.ascii-world.com/forum/t-29529/pcopy-60-deadline-is-closing#post-74765</link>
				<description></description>
				<pubDate>Sun, 02 Dec 2007 20:06:05 +0000</pubDate>
				<wikidot:authorName>EKVirtanen</wikidot:authorName>				<wikidot:authorUserId>12785</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Deadline is 15'th Dec. 2007.<br /> Submissions at <span class="wiki-email">moc.liamg|ffats.ypocp#moc.liamg|ffats.ypocp</span></p> <br/>Forum category: <a href="http://www.ascii-world.com/forum/c-9935">General board. / Coffee table.</a><br/>Forum thread: <a href="http://www.ascii-world.com/forum/t-29529/pcopy-60-deadline-is-closing">PCopy! #60 deadline is closing.</a>
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>