thinBASIC

BASIC Programming Language for Windows.

Very fast "BASIC like" programming language useful to Beginners and to Gurus. BASIC interpreter for Windows able to create console and Windows gui applications with most of the user interface controls, automate process, automate data exchange, connect to databases, send mails, connect to ftp sites, call remote api, parsing strings, tokenizer, JSON, xml, text and binary files, CSV, INI, Registry, WMI, serial ports, OpenGl, graphics, sound, printing, COM automation and objects ... and much much more ... since 2004!

thinBasic Programming Language Counters

+1800 

Language commands

More than 1800 commands in different programming areas

+650

Script examples

More than 650 script examples covering many programming aspects ready to be used

+50

Modules

Each module dedicated to specific programming aspects

+41000

Forum posts

More then 41000 posts in community forum from nice people always willing to help each other

thinBasic News

2024-02-05 thinBasic version 1.12

Released updated thinBasic version 1.12 with a huge list of new features and fixes. One of the biggest release ever.

Download from download page.
Full list of changes 

thinBasic: some features

Mobirise

Easy

ThinBASIC is easy to learn
ThinBASIC took the core concept of BASIC - keeping programming simple and fun - and adjusts it for the modern times.
Load file, download web page or print to console using single line of code.

Mobirise

Organized

One file/multiple files
Script code is not limited to a single file, but you can include other script files to better structure your project.

Mobirise

Modular

Only modules you need
The thinBasic core provides the very essence of the language, such as numeric and string variable types, flow control, and the most essential functions.
Area specific functionality is added via modules - dedicated libraries of functions for user interface, file handling, graphics, sound, printer control and more.

Mobirise

Multi-paradigmatic

Precedural or OOP or both
There are languages which are purely procedural, there are languages which are purely object oriented.
ThinBASIC does not force you to one paradigm.
You are free to choose the right approach for each solution.

Mobirise

Extensible

Add your own personal modules
ThinBASIC can be extended via compiled modules written in PowerBASIC, FreeBasic, Rust, C, or in general any programming language able to develop a 32bit Dll.

Mobirise

Interpreted & pseudocompiled

The choice is your
The language is interpreted, which means you start the script immediately, without wait for compilation.
Yet - you can also distribute your scripts as single EXE file, thanks to so called bundling.

thinBasic Tools

Mobirise

thinAir: thinBASIC IDE

Integrated Development Environment. 
Developed and maintained directly by thinBASIC authors, thinAir is the official script editor. Many easy-to-use features make thinBasic programmer’s day more productive.
It allows creating new scripts from templates, debugging and offers and complete document outline as well, for easier navigation between types and functions.

Mobirise

thinDebug: thinBASIC Debugger

Unlike some other interpreters, thinBasic does support stepping through the code line by line in interactive mode, while allowing to skip directly to a user defined breakpoints.
It also allows variable inspection in multiple scopes, while providing detailed information even for more complex structures such as arrays or user defined types.

Mobirise

thinBundle: thinBASIC pseudo compiler

Any thinBasic script can be converted to executable file, directly with this official tool. You can provide the EXE with the usual metadata, such as version information, custom icon and more.
This is the tool of choice when you need to ship your application to somebody without thinBasic installation. Just click a button and create an independent EXE file.

thinBasic: offline and online help. Hundreds of examples ready to be used

Mobirise

thinHelp: thinBASIC offline help

Learning a new programming language is very difficult without a complete help that explain programming language features.
thinBasic is distributed with a full help file that explains the thousands of commands present into the programming language.

Mobirise

Online Help: thinBASIC online help 

An online help is also available.
It can be used to learn thinBasic while online or to reference help pages in thinBasic community forum.

Mobirise

Source code: thinBASIC examples 

Once installed more than 600 thinBasic script source code examples will help programmers to study thinBasic language and cover many programming aspects from file handling to web service calling to databases interaction to windows forms creation ... and much much more.

Mobirise

thinBASIC history

The full list of thinBASIC versions with all the details of what we implemented in whick version and when

thinBasic Programming Language Tutorials

Mobirise

Variable declaration

Verbose syntax, brief syntax + initialization, ... use the way you like.

Mobirise

Load a whole file into a string variable

String variables are very flexible, powerful and easy to use in thinBasic

Mobirise

Functions and Subs

Any number of functions and subs with up to 32 parameters each

Mobirise

Console Hello World

A classic :-)

Mobirise

Check if a site is alive, ping it

Some easy networking tasks

Mobirise

Ultra fast string handling

Some classical string functions like Left/Right/Mid have FAST version thousand of times faster than classical version

Mobirise

Create an ActiveX web browser to show data using Google Charts

Complex task ... easy way

Mobirise

... and here ActiveX web page execution

Creates dynamic charts on the fly

Mobirise

Complex script tutorial

Full tutorial script with source code ...

Mobirise

Tutorial example running

Tutorial script execution

Mobirise

Windows complex dialogs like grids ...

Windows with grids are quite complex but with thinBasic is is not a big problem

Mobirise

A simple spreadsheet like grid execution

No much code is needed to create quite complex user interface components

thinBasic: Support Forum

thinBASIC Community forum

thinBasic Programming Language forum: many ideas, requests, suggestions, help, projects discussion, examples, ... 

The best way to get support is to participate to thinBasic community. Click "Community" top link and explore.

Eros 
thinBASIC Developer

ThinBasic community forum allows to discuss your projects and get valuable tips and recommendations from both language authors and experienced community members.

Petr
thinBASIC Developer

© Copyright  thinBasic - All Rights Reserved