List All Pages
ABS - returns absolute value of number
Syntax
ABS( nValue )
nValue - any numeric value or variable
Description
ABS( ) returns absolute value of passed number.
Examples
ABS(-5) ' -- Returns...
Syntax
Alert ( title, message [, timeout])
title - title of the alert box
message message contained in the box
timeout - (optional) number of seconds to remain onscreen
Description
Alert()...
Syntax
Alias ExistingKeyword As CustomKeyword
ExistingKeyword - any existing keyword
CustomKeyword - your custom keyword
Description
Alias creates a custom keyword that you can use instead of a...
Creating arrays of variables
For creation of arrays apply the same conditions as for standard variables, you just have to specify number of dimensions and elements.
To create single dimension...
This page holds the images for badges.
Awarded to member name for creating a member page.
The member badge is the first badge that most members earn.
Display Code
[[include include:member-badge member=member...
BEEP - makes the PC beep.
Syntax
BEEP ( noTimes, Milliseconds)
noTimes - number of times to beep
milliseconds - how long to wait between beeps in milliseconds
Description
BEEP( ) makes computer...
Related Pages
Backlinks
These pages link back to this page. You may find them interesting.
Ask a Question
Ask a question about the Biff module.
Syntax
binaryStr = BIN$ ( int )
int - any integer
binaryStr - returned binary form as a string
Description
BIN$() converts an integer to a binary number represented as a string. This is useful...
Related Pages
Backlinks
These pages link back to this page. You may find them interesting.
Ask a Question
Ask a question about CGI Module
Functions
The clipboard text can be read and written to using two thinBasic functions. They are :
ClipBoard_GetText
ClipBoard_SetText()
Both of these functions are included in the Core Module...
Syntax
ClipBoard_GetText
Description
ClipBoard_GetText sets the text on the clipboard, if any.
Examples
Screw with the ClipBoard Text
This code screws with the users clipboard text. :)
ALERT...
Syntax
Clipboard_SetText( text$ )
text$ - text to set as clipboard text.
Description
ClipBoard_SetText( ) sets the text on the Windows clipboard.
Examples
Screw with the ClipBoard Text
Alert...
Single Line Comment
thinBASIC has two ways to comment out line or part of it.
First is usage of apostrophe (single quote):
' im a comment! Woo!
Second is for nostalgic programmers, as it is...
Related Pages
Backlinks
These pages link back to this page. You may find them interesting.
Ask a Question
Ask a question about the COM Module.
Community Team
Member Pages
Welcome to the thinBasic Wiki Complete Community Portal. This is only a basic community portal for now.
Things To Do
Talk to members of this wiki or get help on the Forum or see only the most...
The Community Team is here to help you with anything you need.
All members of the community team have volunteered to help you.
Administrators
These members have complete control over the wiki.
(...
This article is a stub. You can help us improve thinBasic Wiki Complete by expanding it.
The Console Module handles all things related to input and output using a simple text console...
Constants contain one piece of data of one data type that does not change after it as been set.
Naming constants
In thinBASIC, the same conditions apply for naming variables and constants, with...
Syntax
The syntax of thinBasic is based on BASIC.
Comments
Comments can be placed in your code to remind yourself how your code works or document it for other people's use.
Data
Data is...
General Functions
Alert() - pop up an alert box from the taskbar
Alias - create an alias for an existing keyword
Beep() — BEEP!
ClipBoard_GetText - er… get the text from the clipboard, if...
Related Pages
Backlinks
These pages link back to this page. You may find them interesting.
Ask a Question
Ask a question about the Crypto Module.
Literals
A literal is a unit of data placed directly in the source code of a script. Generally there are two types of literals : Numbers and Strings.
Data Types
thinBASIC offers wide range of...
Variables
Variables can hold one only one piece of data of one data type at a time. The main advantage of using variables over constants is that the data contained in a variable can be...
thinBASIC supports wide range of data types.
Numeric
Integer class
Integer variables represent numbers without fractional part.
Signed
Signed integer variables can have negative or positive...
Related Pages
Backlinks
These pages link back to this page. You may find them interesting.
Ask a Question
Ask a question about
Related Pages
Backlinks
These pages link back to this page. You may find them interesting.
Ask a Question
Ask a question about the Dictionary Module.
something - does something
Syntax
something( para1, para2)
para1 - is something
para2 - is something
Description
something( ) does something verbose explanation.
Examples
Something Does...
thinBASIC documentation comes in two flavours:
Help file bundled with every thinBASIC installation
Online help file
The following documentation is handled only by users of this wiki
Core...
Related Pages
Backlinks
These pages link back to this page. You may find them interesting.
Ask a Question
Ask a question about the DT Module.
You can directly evaluate complete numeric expression from the string, with possiblity to link string variables to script ones.
Related Pages
Backlinks
These pages link back to this page. You may...
Various thinBasic FAQs.
thinBasic FAQ - our unofficial thinBasic FAQ.
{$name} Guide
This is an introductory Hello World tutorial for thinBasic. I will assume that you already have downloaded thinBasic and are know how to run thinAir. If not, please read Getting Started
Hello World...
Syntax
hexStr = HEX$ ( int )
int - any integer
hexStr - returned hexadecimal form as a string
Description
HEX$() converts an integer to a hexadecimal number represented as a string. This is...
If you are allowed to edit pages in this Site, simply click on edit button at the bottom of the page. This will open an editor with a toolbar pallette with options.
To create a link to a new page,...
{$text}
Awarded to {$member} for creating a member page.
{$title}
{$content}
{$title}
{$content}
This tutorial will teach you the fundamentals of input and output using the thinBasic Console module. If you are a complete beginner, this tutorial is a must read.
thinBasic input and output...
This is a list of thinBasic run time errors, what's probably wrong, and how to fix it.
Unknown Keyword
One of two things has probably happened.
1. You have misspelled something :
USES...
String Literals
String literals are required to be enclosed in quotes.
"string literal"
Numeric Literals
Numeric literals do not require quotes.
Name
Example
integer literal
42
floating...
This is the member page of hartnell
About Me
Hi. I'm hartnell.
Include a bit about yourself here, or completely delete this section if you want.
My Badges
I have earned the following Badges...
Member pages are pages where you can write about yourself, write notes, and store your own files.
Create Your Own Member Page
To create your own member page:
Type your name into the box below...
This is the member page of PetrSchreiber
About Me
Include a bit about yourself here, or completely delete this section if you want.
My Badges
I have earned the following Badges :
Awarded to...
Members:
Moderators
Admins
USES
USES must be used to tell thinBasic that you intend to use a module.
The Modules
Core Module is the only module that is loaded by default.
Biff Module
CGI Module
COM Module
COMM...
Current Events in thinBasic
This page is to post news about what is happening in the thinBasic world. Everyone is encouraged to post links to official thinBasic news, related releases, and other...
Branching
If
Select
Loops
Do
For
While
Related Pages
Backlinks
These pages link back to this page. You may find them interesting.
Ask a Question
Ask a question about program flow.
thinBasic Wiki
thinBasic Wiki
SiteMap
Community
Current Events
Forum
Forum
Recent Posts
Docs and Tutorials
Documentation
Tutorials
FAQs
Lists
Links
Get Your Own Free Wiki
Page tags
Add a...
SiteMap of thinBasic Wiki Complete.
Related Pages
Backlinks
These pages link back to this page. You may find them interesting.
Ask a Question
Ask a question about sound in thinBasic.
This article is a stub. You can help us improve thinBasic Wiki Complete by expanding it.
These pages are stubs.
Case Sensitivity
thinBASIC is not case sensitive language, you can write names of commands, variables, … in the way you feel it.
So there is absolutely no difference between following:
if a=1...
This is the member page of User YourName can not be found.
About Me
Include a bit about yourself here, or completely delete this section if you want.
My Badges
I have earned the following Badges...
About
The core of the language itself is developed using PowerBASIC compiler, by Eros Olmi and Roberto Bianchi.
Apart from the core, thinBASIC contains modules to add specific functionality, some...
This is our own unofficial thinBasic FAQ. If you are looking for a feature list or a pro/con, you may want to look at the thinBasic BullSheet.
General
Is thinBasic free?
Yes. thinBasic is free.
Is...
Welcome to
thinBasic Wiki Complete,
the free thinBasic Guide that
anyone can edit.
TBWC has over 20 pages.
thinBasic Wiki Complete is a growing thinBasic wiki, forum, and guide to the...
{Community}
Community Portal
Forum
Recent Posts
{Documentation}
Main Doc Page
Core Language
Modules
{ Wiki }
Join
Wiki Index
Recent Changes
List All Pages
Page Tags List
Wiki Members
Site...
Core Programming
Level One
Hello World Tutorial - everyone's first tutorial.
Level Two
Input and Output Tutorial I
Related Pages
Links
Graphic programming
( external links...
Types or UDTs (for user defined types) can contain multiple variables and / or arrays of different data types in one collective data structure.
thinBASIC allows declaration of user defined types,...
Here are links related to thinBASIC which could interest you
Websites
Official thinBasic Website
Community forum
Downloads
Home of ThinBASIC Adventure Builder
Site dedicated to thinBASIC 3D...
Naming variables
A variable name is also known as an identifier. There are rules for all identifiers in thinBasic which are also the rules for naming variables. They are :
name can contain...
According to Wikipedia, the world largest wiki site:
A Wiki ([ˈwiː.kiː] <wee-kee> or [ˈwɪ.kiː] <wick-ey>) is a type of website that allows users to add, remove, or otherwise edit...
...
Here are some thinBasic lists for easy reference :
List of errors