Version 1.13

<< Click to Display Table of Contents >>

Navigation:  What's new > 2020-2024 - Version history >

Version 1.13

Date

Module

What

ID

Description

Thanks to:




 



2024/06/09

 

 

 

--- thinBasic version 1.13  ---

 

---

TBGL

Updated

 

Module updated to the latest version available on GitHub: https://github.com/ThinBASIC/thinBasic_TBGL

Petr Schreiber

---

Oxygen

Updated

 

Oxygen module updated to the latest version available on GitHub: https://github.com/Charles-Pegge/OxygenBasic

Charles Pegge

 

Inno SetUp

Setup

 

thinBasic Setup application:

compiled with Inno Setup Compiler version 6.2.2

 

 

Core

Compiler

 

thinBasic Core engine is now compiled using PB10.04

 

 

UPX

 

 

All thinBasic executables and DLLs modules are compressed using UPX 4.2.2 64bit

 

 

Scintilla

thinAir

 

Scintilla editor control updated to Scintilla 4.4.6.0: https://www.scintilla.org/

 

 






 






thinBasic version 1.13.0.0

2024/06/06

Core

FIX


String element array passed BYREF to functions always referencing first element

EricE

2024/05/25

Core

Improved


Hash_GetKeys returned key list is now sorted in ascending order by default



Core

Improved


cHash.Keys returned key list is now sorted in ascending order by default



Core

Improved


cHash.Keys added possibility to specify optional string separator


2024/05/22

Core

FIX


Shell function bug fixed. Command was not used at all.


2024/05/10

Core

NEW


Added CRC32 function


2024/05/05

Core

NEW


CreateObject function added. It works exactly like NewCom and is added to simplify code porting from other programming languages



Core

NEW


thinBasic is now able to parse compound dotted COM objects properties / methods

 

The following code is now possible:

 

DIM Xls   AS iDispatch
dim Rng   as iDispatch
 
Xls = CreateObject("Excel.Application")
 
Xls.Visible = TRUE
Xls.Workbooks.Add
 
Xls.Cells(1, 1).Value = "Name"
dim s as string
s = Xls.Cells(1, 1).Value
 
Xls.Cells(1, 1).Font.Bold = TRUE
Xls.Cells(1, 1).Interior.ColorIndex = 30
Xls.Cells(1, 1).Font.ColorIndex = 2
Xls.Cells(2, 1).Value = "Test value 1"
Xls.Cells(3, 1).Value = "Test value 2"
Xls.Cells(4, 1).Value = "Tets value 3"
Xls.Cells(5, 1).Value = "Test value 4"
 
Rng = Xls.Range("A1","A5")
Rng.Font.Size = 14
Rng = NOTHING
 
Rng = Xls.Range("A2","A5")
Rng.Interior.ColorIndex = 36
Rng.EntireColumn.Autofit
 
Sleep (10000)
 
Xls.DisplayAlerts = FALSE
Xls.quit
 
Rng = NOTHING
Xls = NOTHING
 

Before this change it was necessary to define intermediate iDispatch variable to assign COM objects like Cells, Fonts, ... or any COM objects inside a COM server in order to interact with them.

 


2024/04/08

thinAir

NEW


Enum names are added to calltips list dynamically

Petr Schreiber

2024/04/08

Core

NEW


RemainL$ function added



AdoDB

NEW


<ADODB_Connection>.LookUpField.Next function added, a useful compendium to <ADODB_Connection>.LookUpField method


2024/04/04

AdoDB

NEW


<ADODB_Connection>.LookupField function to simplify searching for data without the need to create an ADODB_Recordset object


2024/03/29

Core + thinAir

FIX


Fixed #Profile process not started when script contains #Profile On command


2024/03/22

Core

Improved


Internal hash table used to store dynamic loaded keywords and related data from Core and loaded modules completely rewritten. More stability and hopefully little more speed.


2024/03/20

thinAir

FIX


Fixed when closing main thinAir window having some files to be saved.

Pressing "Cancel" button to interrupt closing operation was not working


2024/03/19

Core

FIX


Remain$ fixed. Wrong string return when using right to left (negative StartPosition) and ANY clause was active with a MatchString with more than 1 char. Example:

Uses "console"
Printl Remain$(-1, "0/1/2/This is file name.jpg", any "/\")


2024/03/19

thinAir

Improved


#Region nesting are indented in Codebrowser blocks



Core

FIX


AnsiToUtf8$ error in some cases internal allocated buffer was truncated or over allocated resulting in incorrect returned string


2024/03/14

UI

NEW


Win_SetProcessDpiAwareness function added

catventure

2024/03/04

thinBundle

FIX


Produced bundled exe not working: error in obfuscated script

phb


 

FIX


Fixed RMChart example



Core

Improved


Alias option in Declare statement is now optionl


2024/02/10

Core

Improved


Improved speed by may times when using JOIN$ with IndexFrom/IndexTo optional parameters in dynamic string arrays.
Useful when you need to split your string array into chunks.
Example: dividing big text file into multiple text files. Load big text file into a string array and use JOIN$ to split into multiple strings saving each string into a separate file



Core

NEW


App.stack.name will return current internal stack name



Core

NEW


App.stack.level will return current internal stack level