Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

ThinBasic

< >

ThinBasic is an open source programming language created in 2004.

#2022on PLDB 20Years Old
Wikipedia

thinBasic is a BASIC-like computer programming language interpreter with a central core engine architecture surrounded by many specialized modules. Although originally designed mainly for computer automation, thanks to its modular structure it can be used for wide range of tasks.. Read more on Wikipedia...


Example from Wikipedia:
' Specifies program will use functions from console module uses "Console" ' TBMain represents main body of the program function TBMain() ' Creates variable to hold user name local UserName as string ' Asks user for the name Console_Print("What is your name?: ") ' Stores it to variable UserName = Console_ReadLine ' If length of username is 0 then no name is specified, else program will say hello if len(UserName) = 0 then Console_PrintLine("No user name specified...") else Console_PrintLine("Hello " + UserName + "!") end if ' Waits for any key from user before program ends Console_WaitKey end function

Language features

Feature Supported Example Token
Comments ✓ ' A comment
Line Comments ✓ ' A comment '
Semantic Indentation X

- Build the next great programming language · Add · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v154.3.0