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 Language

  • 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 Language 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: 4908 
    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: 6045 
    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

    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

    About thinBasic 

    by
    ErosOlmi
    • View Profile
    • View Forum Posts
    • Private Message
    • View Blog Entries
    • Visit Homepage
    • View Articles
    Published on 07-11-2010 14:19   
    1. Categories:
    2. Info

    thinBasic is a simple, flexible, and easy-to-learn and use interpreted programming language. thinBasic lets you quickly and easily develop programs for Windows.
    thinBasic was first released in 2004. Since then thinBasic has steadily improved thanks also to the help of a growing number of enthusiastic people. Although thinBasic is an interpreted language providing subscript checking, un-initialized variable checking and numerous other run-time checks, it is extremely fast. People use it to develop Windows GUI programs, high-speed OpenGl games, Windows programs (GUI or Console), task automations.

  • Tag Cloud

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

    dco045

    Curious side effect of data type casting in VAL() function ?

    Thread Starter: dco045

    Hi, The following thin basic example is from a program wich extracts data from a microprocessor development board. The uploaded file contains...

    Last Post By: ErosOlmi 23-04-2018, 10:18 Go to last post
    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: AdamCounsell 21-04-2018, 13:02 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: ReneMiner 21-04-2018, 08:36 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 19-04-2018, 00:08 Go to last post
  • Contact Us
  • thinBasic: Basic Programming Language
  • Archive
  • Top
All times are GMT +2. The time now is 10:21.