<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[Small Basic Forum - Standard Small Basic]]></title>
		<link>https://litdev.uk/mybb/</link>
		<description><![CDATA[Small Basic Forum - https://litdev.uk/mybb]]></description>
		<pubDate>Wed, 22 Apr 2026 09:34:27 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[D'ont read a file]]></title>
			<link>https://litdev.uk/mybb/showthread.php?tid=585</link>
			<pubDate>Sun, 12 Apr 2026 09:11:07 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://litdev.uk/mybb/member.php?action=profile&uid=38">francesco</a>]]></dc:creator>
			<guid isPermaLink="false">https://litdev.uk/mybb/showthread.php?tid=585</guid>
			<description><![CDATA[In the following code there is a problem, it does not read the file for me.<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>Sub frasi_puoi_passare<br />
max1a = 0<br />
min1a = 1<br />
numero_estratto1a = 0<br />
' Chiedi il percorso del file<br />
filePath1a = Program.Directory +  "/testidescrittivi/fileyes1.txt"<br />
  ' Legge tutto il contenuto del file<br />
  contenuto1a = File.ReadContents(filePath1a)<br />
  <br />
for i1a=1 to 999 ' ' if there are not more then 999 lines in the file<br />
contenuto1a[i1a]=File.ReadLine(filepath1a,i1a)<br />
if contenuto1a[i1a]="" then<br />
i1a=1000<br />
else<br />
lunghezza1a=i1a <br />
endif<br />
endfor <br />
  <br />
  <br />
  GraphicsWindow.ShowMessage(contenuto1a,"Contenuto") <br />
  <br />
' Calcoliamo la lunghezza della lista<br />
'lunghezza = Array.GetItemCount(contenuto) ' mi da' lunghezza = 0 ERRORE<br />
GraphicsWindow.ShowMessage(lunghezza1a,"LUNGHEZZA")<br />
numeroCasuale1a = Math.GetRandomNumber(lunghezza1a - min1a) + (min1a - 1)<br />
' Generiamo un indice casuale tra 1 e lunghezza<br />
' Estraiamo l'elemento corrispondente<br />
elementoCasuale1a = contenuto1a[numerocasuale1a]<br />
' Mostriamo il risultato<br />
GraphicsWindow.ShowMessage("Elemento estratto: " + elementoCasuale1a, "elemento") <br />
EndSub <br />
<br />
<br />
file:<br />
<br />
Puoi passare,<br />
Vai avanti,<br />
Prosegui,<br />
Non ti fermare</code></div></div>]]></description>
			<content:encoded><![CDATA[In the following code there is a problem, it does not read the file for me.<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>Sub frasi_puoi_passare<br />
max1a = 0<br />
min1a = 1<br />
numero_estratto1a = 0<br />
' Chiedi il percorso del file<br />
filePath1a = Program.Directory +  "/testidescrittivi/fileyes1.txt"<br />
  ' Legge tutto il contenuto del file<br />
  contenuto1a = File.ReadContents(filePath1a)<br />
  <br />
for i1a=1 to 999 ' ' if there are not more then 999 lines in the file<br />
contenuto1a[i1a]=File.ReadLine(filepath1a,i1a)<br />
if contenuto1a[i1a]="" then<br />
i1a=1000<br />
else<br />
lunghezza1a=i1a <br />
endif<br />
endfor <br />
  <br />
  <br />
  GraphicsWindow.ShowMessage(contenuto1a,"Contenuto") <br />
  <br />
' Calcoliamo la lunghezza della lista<br />
'lunghezza = Array.GetItemCount(contenuto) ' mi da' lunghezza = 0 ERRORE<br />
GraphicsWindow.ShowMessage(lunghezza1a,"LUNGHEZZA")<br />
numeroCasuale1a = Math.GetRandomNumber(lunghezza1a - min1a) + (min1a - 1)<br />
' Generiamo un indice casuale tra 1 e lunghezza<br />
' Estraiamo l'elemento corrispondente<br />
elementoCasuale1a = contenuto1a[numerocasuale1a]<br />
' Mostriamo il risultato<br />
GraphicsWindow.ShowMessage("Elemento estratto: " + elementoCasuale1a, "elemento") <br />
EndSub <br />
<br />
<br />
file:<br />
<br />
Puoi passare,<br />
Vai avanti,<br />
Prosegui,<br />
Non ti fermare</code></div></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[close a file]]></title>
			<link>https://litdev.uk/mybb/showthread.php?tid=583</link>
			<pubDate>Tue, 07 Apr 2026 22:01:47 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://litdev.uk/mybb/member.php?action=profile&uid=38">francesco</a>]]></dc:creator>
			<guid isPermaLink="false">https://litdev.uk/mybb/showthread.php?tid=583</guid>
			<description><![CDATA[closing a txt file in small basic, I found a link that said it wasn't necessary, but instead if I try to run the program 2 times it gives me an error, because the file is already in use by another task]]></description>
			<content:encoded><![CDATA[closing a txt file in small basic, I found a link that said it wasn't necessary, but instead if I try to run the program 2 times it gives me an error, because the file is already in use by another task]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[random in a array]]></title>
			<link>https://litdev.uk/mybb/showthread.php?tid=580</link>
			<pubDate>Fri, 27 Mar 2026 19:02:42 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://litdev.uk/mybb/member.php?action=profile&uid=38">francesco</a>]]></dc:creator>
			<guid isPermaLink="false">https://litdev.uk/mybb/showthread.php?tid=580</guid>
			<description><![CDATA[the line of code <br />
<br />
lunghezza = Array.GetItemCount(contenuto) ' mi da' lunghezza = 0 ERRORE<br />
<br />
give me a lunghezza equal zero = 0]]></description>
			<content:encoded><![CDATA[the line of code <br />
<br />
lunghezza = Array.GetItemCount(contenuto) ' mi da' lunghezza = 0 ERRORE<br />
<br />
give me a lunghezza equal zero = 0]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Sudoku Solver    Published No.:XZXJ94.000]]></title>
			<link>https://litdev.uk/mybb/showthread.php?tid=489</link>
			<pubDate>Sat, 30 Aug 2025 06:06:21 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://litdev.uk/mybb/member.php?action=profile&uid=1573">The Old Guy</a>]]></dc:creator>
			<guid isPermaLink="false">https://litdev.uk/mybb/showthread.php?tid=489</guid>
			<description><![CDATA[Hello, I am 'The Old Guy'.  I am not new to Small Basic and I am definitely not a guru.<br />
I have a liking for Sudoku and was searching the net for a listing in Small basic to solve Sudoku using a backtracking algorithm.<br />
Having not found one I decided to compile my own. <br />
I am aware there are a lot of solvers available to not require another adaptation to get the job done but once my curiosity was<br />
aroused the bee in my bonnet would let me put it down.<br />
If the members of this forum are also curious enough to take an interest, I would be happy to take comment or criticism.<br />
Thank you.]]></description>
			<content:encoded><![CDATA[Hello, I am 'The Old Guy'.  I am not new to Small Basic and I am definitely not a guru.<br />
I have a liking for Sudoku and was searching the net for a listing in Small basic to solve Sudoku using a backtracking algorithm.<br />
Having not found one I decided to compile my own. <br />
I am aware there are a lot of solvers available to not require another adaptation to get the job done but once my curiosity was<br />
aroused the bee in my bonnet would let me put it down.<br />
If the members of this forum are also curious enough to take an interest, I would be happy to take comment or criticism.<br />
Thank you.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Question about a program]]></title>
			<link>https://litdev.uk/mybb/showthread.php?tid=437</link>
			<pubDate>Thu, 17 Jul 2025 16:32:56 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://litdev.uk/mybb/member.php?action=profile&uid=1388">Eddie</a>]]></dc:creator>
			<guid isPermaLink="false">https://litdev.uk/mybb/showthread.php?tid=437</guid>
			<description><![CDATA[Hallo, ich habe ein Programm unter der QCBN-Nummer 365.000 veröffentlicht. Das Programm soll zur Steuerung meiner Modellbahn dienen. Beim Start öffnet sich ein grafisches Fenster mit Schaltflächen und einem Gleisplan mit Linien. Alles funktioniert. Klickt man auf die grünen Kreise, bewegt sich eine Linie, die eine Weiche darstellen soll. Nun zum Problem: Stellt man die Weiche per Mausklick, ist alles in Ordnung. Der Befehl wird an die DCC-EX-Zentrale gesendet und die Weiche auf der Anlage schaltet ebenfalls. Drückt man die Schaltfläche Fahrstraße A, werden die Befehle auch korrekt gesendet. Was jedoch nicht schaltet, sind die Weichen in meinem Gleisplan. Meine Idee war, das Textfeld tb1 auszulesen. Dort wird die Rückmeldung der Zentrale angezeigt. Leider ist mir das bisher nicht gelungen. Hat jemand eine Idee?]]></description>
			<content:encoded><![CDATA[Hallo, ich habe ein Programm unter der QCBN-Nummer 365.000 veröffentlicht. Das Programm soll zur Steuerung meiner Modellbahn dienen. Beim Start öffnet sich ein grafisches Fenster mit Schaltflächen und einem Gleisplan mit Linien. Alles funktioniert. Klickt man auf die grünen Kreise, bewegt sich eine Linie, die eine Weiche darstellen soll. Nun zum Problem: Stellt man die Weiche per Mausklick, ist alles in Ordnung. Der Befehl wird an die DCC-EX-Zentrale gesendet und die Weiche auf der Anlage schaltet ebenfalls. Drückt man die Schaltfläche Fahrstraße A, werden die Befehle auch korrekt gesendet. Was jedoch nicht schaltet, sind die Weichen in meinem Gleisplan. Meine Idee war, das Textfeld tb1 auszulesen. Dort wird die Rückmeldung der Zentrale angezeigt. Leider ist mir das bisher nicht gelungen. Hat jemand eine Idee?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[I finished making my web-based recreation of Small Basic for the web]]></title>
			<link>https://litdev.uk/mybb/showthread.php?tid=417</link>
			<pubDate>Fri, 04 Jul 2025 17:04:44 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://litdev.uk/mybb/member.php?action=profile&uid=865">sm4llprogrammer2008</a>]]></dc:creator>
			<guid isPermaLink="false">https://litdev.uk/mybb/showthread.php?tid=417</guid>
			<description><![CDATA[And honestly, it feels like Small Basic Online but you can use it anywhere!<br />
It'll release soon.]]></description>
			<content:encoded><![CDATA[And honestly, it feels like Small Basic Online but you can use it anywhere!<br />
It'll release soon.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Diving into Z-S's SB.js web program]]></title>
			<link>https://litdev.uk/mybb/showthread.php?tid=413</link>
			<pubDate>Wed, 25 Jun 2025 13:48:59 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://litdev.uk/mybb/member.php?action=profile&uid=865">sm4llprogrammer2008</a>]]></dc:creator>
			<guid isPermaLink="false">https://litdev.uk/mybb/showthread.php?tid=413</guid>
			<description><![CDATA[Z-S shared me a project while I started to create SBJS, and I think it's fast enough, very well engineered.<br />
First I tried this:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>textwindow.writeline("hello, world!");</code></div></div>It probably made sense to include a semicolon, because it maybe was just custom JS objects + classes running with eval() on the background.<br />
Then went on to test some classic SB syntax:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>for i=1 to 5<br />
textwindow.write("Hello, world! ");<br />
endfor</code></div></div>Surprisingly, it worked.<br />
Then tested this:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>uinput = textwindow.read();<br />
textwindow.writeline(uinput);</code></div></div><br />
Also it used the browser's native input box dialog instead of a text cursor within the console.<br />
Then tested JS multiline notes:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>/* Multiline notes<br />
on SB.js */</code></div></div>It was ignored. Didn't throw any errors.<br />
It probably supported my belief of custom JS objects + classes on the background running with eval(). Z-S is truly a web mastermind, and I appreciate that.<br />
Anyway you can try Z-S's SB.js at <a href="https://www.zs.rf.gd/SBJS/" target="_blank" rel="noopener" class="mycode_url">https://www.zs.rf.gd/SBJS/</a>]]></description>
			<content:encoded><![CDATA[Z-S shared me a project while I started to create SBJS, and I think it's fast enough, very well engineered.<br />
First I tried this:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>textwindow.writeline("hello, world!");</code></div></div>It probably made sense to include a semicolon, because it maybe was just custom JS objects + classes running with eval() on the background.<br />
Then went on to test some classic SB syntax:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>for i=1 to 5<br />
textwindow.write("Hello, world! ");<br />
endfor</code></div></div>Surprisingly, it worked.<br />
Then tested this:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>uinput = textwindow.read();<br />
textwindow.writeline(uinput);</code></div></div><br />
Also it used the browser's native input box dialog instead of a text cursor within the console.<br />
Then tested JS multiline notes:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>/* Multiline notes<br />
on SB.js */</code></div></div>It was ignored. Didn't throw any errors.<br />
It probably supported my belief of custom JS objects + classes on the background running with eval(). Z-S is truly a web mastermind, and I appreciate that.<br />
Anyway you can try Z-S's SB.js at <a href="https://www.zs.rf.gd/SBJS/" target="_blank" rel="noopener" class="mycode_url">https://www.zs.rf.gd/SBJS/</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[SBJS coming soon]]></title>
			<link>https://litdev.uk/mybb/showthread.php?tid=412</link>
			<pubDate>Tue, 24 Jun 2025 19:02:41 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://litdev.uk/mybb/member.php?action=profile&uid=865">sm4llprogrammer2008</a>]]></dc:creator>
			<guid isPermaLink="false">https://litdev.uk/mybb/showthread.php?tid=412</guid>
			<description><![CDATA[I've decided to port Small Basic to JS... Literally.<br />
I've decided to make the SB implementation of JS also more web-friendly, and also C#-like (i.e TextWindow =&gt; Console)<br />
Imagine making websites on SB, like the old Silverlight Small Basic Player days and SBO but web-wide.]]></description>
			<content:encoded><![CDATA[I've decided to port Small Basic to JS... Literally.<br />
I've decided to make the SB implementation of JS also more web-friendly, and also C#-like (i.e TextWindow =&gt; Console)<br />
Imagine making websites on SB, like the old Silverlight Small Basic Player days and SBO but web-wide.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Google Search Terminal SB Edition v2.0_01]]></title>
			<link>https://litdev.uk/mybb/showthread.php?tid=411</link>
			<pubDate>Tue, 24 Jun 2025 13:27:39 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://litdev.uk/mybb/member.php?action=profile&uid=865">sm4llprogrammer2008</a>]]></dc:creator>
			<guid isPermaLink="false">https://litdev.uk/mybb/showthread.php?tid=411</guid>
			<description><![CDATA[Hotfix for one of my longest programs ever.<br />
Still requires SB 1.2 + LD and ZS extensions.<br />
The fix is located on the info of the 'mnu' / ShowMenu() / Menu() invocations, where semicolons were added for added clarity (inside some help info strings not to separate SB statements).<br />
ID: MSNS590.000<br />
Listing: <a href="https://smallbasic.com/program/?MSNS590.000" target="_blank" rel="noopener" class="mycode_url">https://smallbasic.com/program/?MSNS590.000</a><br />
Code is too long.]]></description>
			<content:encoded><![CDATA[Hotfix for one of my longest programs ever.<br />
Still requires SB 1.2 + LD and ZS extensions.<br />
The fix is located on the info of the 'mnu' / ShowMenu() / Menu() invocations, where semicolons were added for added clarity (inside some help info strings not to separate SB statements).<br />
ID: MSNS590.000<br />
Listing: <a href="https://smallbasic.com/program/?MSNS590.000" target="_blank" rel="noopener" class="mycode_url">https://smallbasic.com/program/?MSNS590.000</a><br />
Code is too long.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Google Search Terminal SB Edition v2.0]]></title>
			<link>https://litdev.uk/mybb/showthread.php?tid=410</link>
			<pubDate>Tue, 24 Jun 2025 00:11:16 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://litdev.uk/mybb/member.php?action=profile&uid=865">sm4llprogrammer2008</a>]]></dc:creator>
			<guid isPermaLink="false">https://litdev.uk/mybb/showthread.php?tid=410</guid>
			<description><![CDATA[(NOT sVB)<br />
Finally out!<br />
This adds a lotta features!<br />
Requires LD + ZS extensions. (SB 1.2 only)<br />
ID: PXCR310.000<br />
Listing: <a href="https://smallbasic.com/program/?PXCR310.000" target="_blank" rel="noopener" class="mycode_url">https://smallbasic.com/program/?PXCR310.000</a><br />
Code is too long.]]></description>
			<content:encoded><![CDATA[(NOT sVB)<br />
Finally out!<br />
This adds a lotta features!<br />
Requires LD + ZS extensions. (SB 1.2 only)<br />
ID: PXCR310.000<br />
Listing: <a href="https://smallbasic.com/program/?PXCR310.000" target="_blank" rel="noopener" class="mycode_url">https://smallbasic.com/program/?PXCR310.000</a><br />
Code is too long.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Google Search Terminal SB Edition]]></title>
			<link>https://litdev.uk/mybb/showthread.php?tid=409</link>
			<pubDate>Mon, 23 Jun 2025 21:47:30 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://litdev.uk/mybb/member.php?action=profile&uid=865">sm4llprogrammer2008</a>]]></dc:creator>
			<guid isPermaLink="false">https://litdev.uk/mybb/showthread.php?tid=409</guid>
			<description><![CDATA[And I've been making it today.<br />
It actually launches a search (via LDProcess) and also parses the query, but doesn't URL encode it.<br />
More features might come soon (GST: SBE v2!)<br />
ID: CVJT898.000<br />
Program listing: <a href="https://smallbasic.com/program/?CVJT898.000" target="_blank" rel="noopener" class="mycode_url">https://smallbasic.com/program/?CVJT898.000</a><br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>Sub PauseNoMsg<br />
  TextWindow.WriteLine("PRESS ANY KEY TO CONTINUE ... ")<br />
  TextWindow.PauseWithoutMessage()<br />
EndSub<br />
Sub SetToDefaultColor<br />
  TextWindow.ForegroundColor = DefaultColor<br />
EndSub<br />
Sub Logo<br />
  TextWindow.ForegroundColor = "Blue"<br />
  TextWindow.Write("G")<br />
  TextWindow.ForegroundColor = "Green"<br />
  TextWindow.Write("O")<br />
  TextWindow.ForegroundColor = "Red"<br />
  TextWindow.Write("O")<br />
  TextWindow.ForegroundColor = "Yellow"<br />
  TextWindow.Write("G")<br />
  TextWindow.ForegroundColor = "Blue"<br />
  TextWindow.Write("L")<br />
  TextWindow.ForegroundColor = "Green"<br />
  TextWindow.Write("E")<br />
  TextWindow.ForegroundColor = "Red"<br />
  TextWindow.Write("!")<br />
  SetToDefaultColor()<br />
EndSub<br />
Sub Search<br />
  TextWindow.WriteLine("")<br />
  TextWindow.Write("What'd you like to search?")<br />
  getsearch = TextWindow.Read()<br />
  parsedsearch = LDText.Replace(getsearch," ","+")<br />
  LDProcess.Start("https://google.com/search?hl=en-us&amp;udm=14&amp;q="+parsedsearch,"")<br />
  Search()<br />
EndSub<br />
TextWindow.Title = "DOSBox (MS-DOS)"<br />
DefaultColor = TextWindow.ForegroundColor<br />
TextWindow.Write("C:&#92;DOS&#92;NET&#92;TOOLS&#92;GOOGLE&gt;")<br />
totype[1] = "g"<br />
totype[2] = "o"<br />
totype[3] = "o"<br />
totype[4] = "g"<br />
totype[5] = "l"<br />
totype[6] = "e"<br />
totype[7] = "."<br />
totype[8] = "c"<br />
totype[9] = "o"<br />
totype[10] = "m"<br />
<br />
For i=1 To Array.GetItemCount(totype)<br />
  TextWindow.Write(totype[i])<br />
  Program.Delay(70)<br />
EndFor<br />
<br />
TextWindow.WriteLine("")<br />
TextWindow.Title = "Google Terminal 8981"<br />
TextWindow.ForegroundColor = "Yellow"<br />
TextWindow.Write("WARNING: ")<br />
TextWindow.ForegroundColor = DefaultColor<br />
TextWindow.Write("It is recommended to run this simulation with a really fitting typeface style! Right-click the title bar, click 'Properties', go to 'Font' and scroll until you find 'Raster Fonts', then select it, then select 7x12 on the 'Size' section and click 'OK' (works best on Win10/11, might work on 8/8.1 or 7 though)")<br />
TextWindow.WriteLine("")<br />
PauseNoMsg()<br />
TextWindow.WriteLine("")<br />
TextWindow.Write("Google is starting")<br />
For i=1 To 10<br />
  TextWindow.Write(".")<br />
  Program.Delay(100)<br />
EndFor<br />
<br />
TextWindow.WriteLine("")<br />
For i=1 To 6<br />
  TextWindow.WriteLine("")<br />
EndFor<br />
<br />
Logo()<br />
TextWindow.WriteLine("")<br />
Search()<br />
PauseNoMsg()</code></div></div><br />
It all started when I realized SB's conhost instance's typeface could be tweaked to feel more like DOS.<br />
In Win10/11, first you'd Win+R, then type 'conhost', then right-click the titlebar, then click 'Properties', then go to 'Font', then scroll 3 times (w/ a mouse) until you find "Raster Fonts", then click it, and then select 7x12 from the 'Size' list, then click 'OK'.<br />
I'm playing around with this typeface, it feels like Windows 7 when WT did not exist and console host was king!]]></description>
			<content:encoded><![CDATA[And I've been making it today.<br />
It actually launches a search (via LDProcess) and also parses the query, but doesn't URL encode it.<br />
More features might come soon (GST: SBE v2!)<br />
ID: CVJT898.000<br />
Program listing: <a href="https://smallbasic.com/program/?CVJT898.000" target="_blank" rel="noopener" class="mycode_url">https://smallbasic.com/program/?CVJT898.000</a><br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>Sub PauseNoMsg<br />
  TextWindow.WriteLine("PRESS ANY KEY TO CONTINUE ... ")<br />
  TextWindow.PauseWithoutMessage()<br />
EndSub<br />
Sub SetToDefaultColor<br />
  TextWindow.ForegroundColor = DefaultColor<br />
EndSub<br />
Sub Logo<br />
  TextWindow.ForegroundColor = "Blue"<br />
  TextWindow.Write("G")<br />
  TextWindow.ForegroundColor = "Green"<br />
  TextWindow.Write("O")<br />
  TextWindow.ForegroundColor = "Red"<br />
  TextWindow.Write("O")<br />
  TextWindow.ForegroundColor = "Yellow"<br />
  TextWindow.Write("G")<br />
  TextWindow.ForegroundColor = "Blue"<br />
  TextWindow.Write("L")<br />
  TextWindow.ForegroundColor = "Green"<br />
  TextWindow.Write("E")<br />
  TextWindow.ForegroundColor = "Red"<br />
  TextWindow.Write("!")<br />
  SetToDefaultColor()<br />
EndSub<br />
Sub Search<br />
  TextWindow.WriteLine("")<br />
  TextWindow.Write("What'd you like to search?")<br />
  getsearch = TextWindow.Read()<br />
  parsedsearch = LDText.Replace(getsearch," ","+")<br />
  LDProcess.Start("https://google.com/search?hl=en-us&amp;udm=14&amp;q="+parsedsearch,"")<br />
  Search()<br />
EndSub<br />
TextWindow.Title = "DOSBox (MS-DOS)"<br />
DefaultColor = TextWindow.ForegroundColor<br />
TextWindow.Write("C:&#92;DOS&#92;NET&#92;TOOLS&#92;GOOGLE&gt;")<br />
totype[1] = "g"<br />
totype[2] = "o"<br />
totype[3] = "o"<br />
totype[4] = "g"<br />
totype[5] = "l"<br />
totype[6] = "e"<br />
totype[7] = "."<br />
totype[8] = "c"<br />
totype[9] = "o"<br />
totype[10] = "m"<br />
<br />
For i=1 To Array.GetItemCount(totype)<br />
  TextWindow.Write(totype[i])<br />
  Program.Delay(70)<br />
EndFor<br />
<br />
TextWindow.WriteLine("")<br />
TextWindow.Title = "Google Terminal 8981"<br />
TextWindow.ForegroundColor = "Yellow"<br />
TextWindow.Write("WARNING: ")<br />
TextWindow.ForegroundColor = DefaultColor<br />
TextWindow.Write("It is recommended to run this simulation with a really fitting typeface style! Right-click the title bar, click 'Properties', go to 'Font' and scroll until you find 'Raster Fonts', then select it, then select 7x12 on the 'Size' section and click 'OK' (works best on Win10/11, might work on 8/8.1 or 7 though)")<br />
TextWindow.WriteLine("")<br />
PauseNoMsg()<br />
TextWindow.WriteLine("")<br />
TextWindow.Write("Google is starting")<br />
For i=1 To 10<br />
  TextWindow.Write(".")<br />
  Program.Delay(100)<br />
EndFor<br />
<br />
TextWindow.WriteLine("")<br />
For i=1 To 6<br />
  TextWindow.WriteLine("")<br />
EndFor<br />
<br />
Logo()<br />
TextWindow.WriteLine("")<br />
Search()<br />
PauseNoMsg()</code></div></div><br />
It all started when I realized SB's conhost instance's typeface could be tweaked to feel more like DOS.<br />
In Win10/11, first you'd Win+R, then type 'conhost', then right-click the titlebar, then click 'Properties', then go to 'Font', then scroll 3 times (w/ a mouse) until you find "Raster Fonts", then click it, and then select 7x12 from the 'Size' list, then click 'OK'.<br />
I'm playing around with this typeface, it feels like Windows 7 when WT did not exist and console host was king!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[WV2.sb (Small Basic for WebView2) Beta]]></title>
			<link>https://litdev.uk/mybb/showthread.php?tid=391</link>
			<pubDate>Sat, 07 Jun 2025 14:58:36 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://litdev.uk/mybb/member.php?action=profile&uid=865">sm4llprogrammer2008</a>]]></dc:creator>
			<guid isPermaLink="false">https://litdev.uk/mybb/showthread.php?tid=391</guid>
			<description><![CDATA[Coming soon, I'll just compile it &amp; test IntelliSense.<br />
Soon GitHub (making account)]]></description>
			<content:encoded><![CDATA[Coming soon, I'll just compile it &amp; test IntelliSense.<br />
Soon GitHub (making account)]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Small Basic super slow ??]]></title>
			<link>https://litdev.uk/mybb/showthread.php?tid=385</link>
			<pubDate>Wed, 04 Jun 2025 20:39:41 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://litdev.uk/mybb/member.php?action=profile&uid=39">Elzaimer</a>]]></dc:creator>
			<guid isPermaLink="false">https://litdev.uk/mybb/showthread.php?tid=385</guid>
			<description><![CDATA[Hello everybody,<br />
<br />
I found this QBASIC program on Facebook :<br />
<br />
DIM SHARED pi, r, t, u, v, x<br />
DIM i AS INTEGER, j AS INTEGER<br />
DIM px AS INTEGER, py AS INTEGER<br />
DIM rr AS INTEGER, gg AS INTEGER, bb AS INTEGER<br />
SCREEN 12<br />
RANDOMIZE TIMER<br />
pi = 4 * ATN(1)<br />
r = 2 * pi / 235<br />
t = 4 * RND<br />
x = 0: u = 0: v = 0<br />
CLS<br />
FOR i = 0 TO 249<br />
FOR j = 0 TO 249<br />
u = SIN(i + v) + SIN(r * i + x)<br />
v = COS(i + v) + COS(r * i + x)<br />
x = u + t<br />
px = INT(320 + 108 * u)<br />
py = INT(240 + 108 * v)<br />
IF px &gt;= 0 AND px &lt; 640 AND py &gt;= 0 AND py &lt; 480 THEN<br />
rr = (i * 3) MOD 256<br />
gg = (j * 3) MOD 256<br />
bb = (255 - (i + j) \ 2) MOD 256<br />
LINE (px, py)-(px + 1, py + 1), _RGB(rr, gg, bb), BF<br />
END IF<br />
NEXT j<br />
NEXT i<br />
SLEEP<br />
<br />
<br />
I tried it on <a href="https://qbjs.org/" target="_blank" rel="noopener" class="mycode_url">https://qbjs.org/</a> and as it was nice I converted it to Small Basic (PSGZ709.000) to compare the performances.<br />
The difference is incredible : 6 seconds on SB and less than a second on QBJS.<br />
<br />
Somebone has an explanation ? is my convertion bad ? is there a way to get better performances ? Would Svb be faster ?]]></description>
			<content:encoded><![CDATA[Hello everybody,<br />
<br />
I found this QBASIC program on Facebook :<br />
<br />
DIM SHARED pi, r, t, u, v, x<br />
DIM i AS INTEGER, j AS INTEGER<br />
DIM px AS INTEGER, py AS INTEGER<br />
DIM rr AS INTEGER, gg AS INTEGER, bb AS INTEGER<br />
SCREEN 12<br />
RANDOMIZE TIMER<br />
pi = 4 * ATN(1)<br />
r = 2 * pi / 235<br />
t = 4 * RND<br />
x = 0: u = 0: v = 0<br />
CLS<br />
FOR i = 0 TO 249<br />
FOR j = 0 TO 249<br />
u = SIN(i + v) + SIN(r * i + x)<br />
v = COS(i + v) + COS(r * i + x)<br />
x = u + t<br />
px = INT(320 + 108 * u)<br />
py = INT(240 + 108 * v)<br />
IF px &gt;= 0 AND px &lt; 640 AND py &gt;= 0 AND py &lt; 480 THEN<br />
rr = (i * 3) MOD 256<br />
gg = (j * 3) MOD 256<br />
bb = (255 - (i + j) \ 2) MOD 256<br />
LINE (px, py)-(px + 1, py + 1), _RGB(rr, gg, bb), BF<br />
END IF<br />
NEXT j<br />
NEXT i<br />
SLEEP<br />
<br />
<br />
I tried it on <a href="https://qbjs.org/" target="_blank" rel="noopener" class="mycode_url">https://qbjs.org/</a> and as it was nice I converted it to Small Basic (PSGZ709.000) to compare the performances.<br />
The difference is incredible : 6 seconds on SB and less than a second on QBJS.<br />
<br />
Somebone has an explanation ? is my convertion bad ? is there a way to get better performances ? Would Svb be faster ?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[SB is actually open-source!]]></title>
			<link>https://litdev.uk/mybb/showthread.php?tid=382</link>
			<pubDate>Mon, 02 Jun 2025 21:07:04 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://litdev.uk/mybb/member.php?action=profile&uid=865">sm4llprogrammer2008</a>]]></dc:creator>
			<guid isPermaLink="false">https://litdev.uk/mybb/showthread.php?tid=382</guid>
			<description><![CDATA[I found the SB dev team's official GitHub profile:<br />
<a href="https://github.com/sb" target="_blank" rel="noopener" class="mycode_url">https://github.com/sb</a>]]></description>
			<content:encoded><![CDATA[I found the SB dev team's official GitHub profile:<br />
<a href="https://github.com/sb" target="_blank" rel="noopener" class="mycode_url">https://github.com/sb</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Few questions]]></title>
			<link>https://litdev.uk/mybb/showthread.php?tid=354</link>
			<pubDate>Tue, 13 May 2025 22:21:29 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://litdev.uk/mybb/member.php?action=profile&uid=865">sm4llprogrammer2008</a>]]></dc:creator>
			<guid isPermaLink="false">https://litdev.uk/mybb/showthread.php?tid=354</guid>
			<description><![CDATA[1. Can we share our own extensions in the "Extensions" thread?<br />
2. Can we share pre-compiled binaries of our SB programs?<br />
3. Can we share OneDrive links to zipped SB projects incase they need more files to depend on?<br />
4. Will there be a "Porting to Small Basic" thread? Because I'm doing an effort to find a way to port JavaScript to Small Basic and vice-versa.<br />
5. Can we have a "Small Basic HTTP Testing" thread? I'm testing HTTP communications between Small Basic and a Python http.server.]]></description>
			<content:encoded><![CDATA[1. Can we share our own extensions in the "Extensions" thread?<br />
2. Can we share pre-compiled binaries of our SB programs?<br />
3. Can we share OneDrive links to zipped SB projects incase they need more files to depend on?<br />
4. Will there be a "Porting to Small Basic" thread? Because I'm doing an effort to find a way to port JavaScript to Small Basic and vice-versa.<br />
5. Can we have a "Small Basic HTTP Testing" thread? I'm testing HTTP communications between Small Basic and a Python http.server.]]></content:encoded>
		</item>
	</channel>
</rss>