thinBasic: Basic Programming Language - Powered by vBulletin
  • Register
  • Help

  • Articles
    • thinBasic Community
    • TBGL
    • thinBasic Language
    • Modules
    • From the forum
    • About thinBasic
    • SDK Development
  • Forum
  • Blogs
  • Bug tracking/Projects Support
  • thinBasic/Resources
    • Download latest thinBasic Version
    • Download: TBGL Bonus Pack
    • Download: TBGL Bonus Pack Pro
    • thinBasic Online Help
  • Advanced Search
  • Home
  • Home
  • thinBasic Community

  • Follow us on Facebook
  • Download Latest thinBasic
  • thinBasic on GitHub
  1. If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
  • Sections

    • thinBasic Language
    • Modules
      • TBGL
    • General purpose algorithms
    • Uses of ThinBASIC
    • SDK Development
    • From the forum
    • Other programming languages
  • Categories

    FreeBasic (0)
    Info (4)
    Module (5)
    News (1)
    PowerBasic (1)
    SDK (1)
    Tech Advanced (2)
    Tech Basic (5)
    Tech Intermediate (4)
    User Projects (4)
  • Article comments

    kryton9

    User defined types #2: Glory and shame of dot notation

    I would never of thought of this. As Michael said very informative. Go to last post

    kryton9 08-05-2017 03:20
  • thinBasic Community RSS Feed

    User defined types #2: Glory and shame of dot notation 

    by
    Petr Schreiber
    • View Profile
    • View Forum Posts
    • Private Message
    • View Blog Entries
    • Visit Homepage
    • View Articles
    Published on 16-07-2016 07:00  Number of Views: 4873 
    1. Categories:
    2. Tech Basic,
    3. Tech Intermediate
    Article Preview

    The first article in the series provided some basic motivation for usage of user defined types (UDT): their ability to encapsulate multiple fields and straightforward memory consumption tracking.


    The second part in the series will introduce you to dot notation, its benefits and pitfalls.
    ...
    Read More Read More 2 Comments

    User defined types #1: Introduction 

    by
    Petr Schreiber
    • View Profile
    • View Forum Posts
    • Private Message
    • View Blog Entries
    • Visit Homepage
    • View Articles
    Published on 10-07-2016 19:00  Number of Views: 6029 
    1. Categories:
    2. Tech Basic

    ThinBASIC is a computer language with roots set in BASIC. The original BASIC did not ask the user to declare any type for the variables, it simply stored them as a number using 30 bits of precision.

    Many of the modern computer languages (Lua, Python, Ruby...) try to mimic this design by hiding the internal variable storage details from the programmer. This approach has the clear advantage of keeping things simple. Number is a number, text is a text. Programmer focuses on the problem instead of implementation. So far so good.

    The possible controversy of this approach starts to appear once you realize the program needs to run on physical device whose resources are limited. The mentioned approach of variable complexity hiding also poses two issues as well for people who would start with such a language as with their first programming language:

    • the correlation between program memory usage and variables is unclear
    • performance characteristics can vary surprisingly, as the language switches the backends and performs the memory reallocations

    ThinBASIC takes different route.
    ...
    Read More Read More 2 Comments

    State safe TBGL programming 

    by
    Petr Schreiber
    • View Profile
    • View Forum Posts
    • Private Message
    • View Blog Entries
    • Visit Homepage
    • View Articles
    Published on 25-10-2012 12:00     Number of Views: 8610 
    1. Categories:
    2. Tech Basic

    TBGL rendering system is internally based on the OpenGL technology, therefore it shares the state machine oriented design. This means that once you set some of the states, such as drawing color, it stays enabled until you change it to something else. While this can be advantageous in some situations, in others it can cause problem, especially when trying to write modular code.

    This article describes the possible side effects of state handling and proposes new code style which should help you write modular graphic code of better quality.
    ...
    Read More Read More 1 Comment

    thinBasic under Windows 8 Consumer Preview 

    by
    ErosOlmi
    • View Profile
    • View Forum Posts
    • Private Message
    • View Blog Entries
    • Visit Homepage
    • View Articles
    Published on 06-03-2012 07:05
    Article Preview

    I'm happy to say that thinBasic is running just fine under recently released Windows 8 Consumer Preview

    ...
    Read More Read More

    pe file for thinbasic not possible? 

    by
    zak
    • View Profile
    • View Forum Posts
    • Private Message
    • View Blog Entries
    • View Articles
    Published on 05-03-2012 21:19
    1. Categories:
    2. User Projects
    Article Preview

    Largo, i have done an experiment . making a bundled exe: file "ok.exe" without choosing to obfuscate the source.
    now when i ...
    Read More Read More

    Application Forum (Info and rules) 

    by
    ErosOlmi
    • View Profile
    • View Forum Posts
    • Private Message
    • View Blog Entries
    • Visit Homepage
    • View Articles
    Published on 08-01-2012 23:50
    1. Categories:
    2. Info

    Dear all,

    I've added a new functionality to thinBasic community forum: thinBasic Applications Forum

    What is this about? ...
    Read More Read More

    thinBasic under Windows 8 

    by
    ErosOlmi
    • View Profile
    • View Forum Posts
    • Private Message
    • View Blog Entries
    • Visit Homepage
    • View Articles
    Published on 16-09-2011 00:11
    Article Preview

    I'm happy to say that thinBasic 1.8.9.0 works perfectly under Windows 8 Developer Preview recently released to the public by Microsoft.
    ...
    Read More Read More

    thinBasic 1.8.9.0 available as stable release 

    by
    ErosOlmi
    • View Profile
    • View Forum Posts
    • Private Message
    • View Blog Entries
    • Visit Homepage
    • View Articles
    Published on 04-09-2011 16:16
    1. Categories:
    2. News,
    3. Info


    thinBasic 1.8.9.0 is now available in form of stable release.
    The long waited stable release is here.

    Complete list of changes can be found at:
    http://www.thinbasic.com/public/prod...to_1_8_9_0.htm

    Grab your copy of thinBasic right now at thinBasic web site or from mirror server.
    http://www.thinbasic.com/index.php?o...ownload&cid=17

    Check also thinBasic download area where you can download thinBasic help files in different formats: CHM, PDF, HTML
    http://www.thinbasic.com/index.php?o...tegory&catid=4

    thinBASIC team
    3 Comments

    Debugger for PowerBasic Windows 

    by
    borsotti mario
    • View Profile
    • View Forum Posts
    • View Blog Entries
    • View Articles
    Published on 20-05-2011 08:48     Number of Views: 10738 
    1. Categories:
    2. PowerBasic

    Chiedo ospitalita' sul forum, e mi scuso per il messaggio in italiano ma il mio
    inglese lascia molto a desiderare.

    Di ...
    Read More Read More 1 Comment

    Beyond TBGL: Offscreen rendering, why and how? 

    by
    Petr Schreiber
    • View Profile
    • View Forum Posts
    • Private Message
    • View Blog Entries
    • Visit Homepage
    • View Articles
    Published on 18-05-2011 03:00     Number of Views: 18839 
    1. Categories:
    2. Tech Intermediate

    ThinBASIC offers the continuously developed TBGL library since year 2005. It is module focusing on providing way to draw graphics hardware accelerated way, but only with features which are widely adopted. That means, only "safe" functionality is added, so programmer can sleep peacefuly, because his scripts will run on any PC with properly installed GPU drivers.

    But in real world, there are situations, when you simply need to use even the cutting edge features or features not commonly implemented by all hardware vendors. One of such a features is offscreen rendering, and this article will tell you for what it can be useful, what are the basic principles and it finally gives you sample implementation and script examples.
    ...
    Read More Read More 14 Comments

    Boids - group AI implemented in ThinBASIC 

    by
    Petr Schreiber
    • View Profile
    • View Forum Posts
    • Private Message
    • View Blog Entries
    • Visit Homepage
    • View Articles
    Published on 09-01-2011 11:51     Number of Views: 10689 
    1. Categories:
    2. Tech Advanced,
    3. User Projects,
    4. Module
    Article Preview

    Hi,

    during Game Access 2010 there was one nice technique mentioned "by the way" as approach used for modelling chicken ...
    Read More Read More

    Page 1 of 2 12 Next LastLast
  • Tag Cloud

    array console extension files memory size sort sqlite stderr stdout tbasic tbasicu unix win api windows win_shortcuts
  • Recent Activity

    AdamCounsell

    Error when using Excel module

    Thread Starter: AdamCounsell

    Hi, I have been attempting to use the Excel module in ThinBasic but it is throwing a strange error message. The small program below was...

    Last Post By: ErosOlmi Today, 17:05 Go to last post
    ErosOlmi

    thinBasic 1.10.x

    Thread Starter: ErosOlmi

    thinBASIC 1.10.x.x Download from: https://www.thinbasic.biz/projects/thinbasic/thinBasic_1.10.4.0.zip 2017.09.29 13:00 (CET Time) updated to...

    Last Post By: kcvinu Yesterday, 21:14 Go to last post
    dco045

    One TB script managing TWO or more... console windows

    Thread Starter: dco045

    Hi, Is it possible for a TB script that uses "console" to manage more than one output console ? For instance, the first/main console for...

    Last Post By: dco045 Yesterday, 00:08 Go to last post
  • Contact Us
  • thinBasic: Basic Programming Language
  • Archive
  • Top
All times are GMT +2. The time now is 18:42.