Small Basic Forum
Small Basic bash simulator - Printable Version

+- Small Basic Forum (https://litdev.uk/mybb)
+-- Forum: Small Basic (https://litdev.uk/mybb/forumdisplay.php?fid=1)
+--- Forum: Standard Small Basic (https://litdev.uk/mybb/forumdisplay.php?fid=2)
+--- Thread: Small Basic bash simulator (/showthread.php?tid=314)



Small Basic bash simulator - sm4llprogrammer2008 - 04-19-2025

I've made a bash simulator.
Doesn't have cmdlets, but you can try expanding it!

Link: https://smallbasic.com/program/?XSLJ618.000
ID (to use on SB 1.2 when importing from web): XSLJ618.000
Code:
TextWindow.Hide()
TextWindow.Title = "Small Bash"
While ("True")
  TextWindow.ForegroundColor = "Green"
  TextWindow.Write("\users\")
  TextWindow.ForegroundColor = "Blue"
  TextWindow.Write("~$ ")
  TextWindow.ForegroundColor = "DarkGray"
  prompt = TextWindow.Read()
EndWhile
TextWindow.Show()

It isn't quite compatible with Small Basic Online though.