Version 1.0.10.2

<< Click to Display Table of Contents >>

Navigation:  What's new > 2006 - version history >

Version 1.0.10.2

Release date: 2006.09.04

 

Date

Area/Module

What

Description

Thanks to:

2006.09.04

Tokenizer

Add

Function Tokenizer_MoveToEol



Tokenizer

Add

Function Tokenizer_GetNextToken



Tokenizer

Add

Introduction of new module: Tokenizer. With the functionalities included into this module scripts will be able to parse string buffer into single tokens like delimiters, strings, quoted strings, number ...


2006.09.01

Core

Improve

Possibility to use national chars in declaring variables or keywords aliases (ALIAS)

Psch


Core

Fix

Fixed GPF when releasing memory associated with VARIANT data type



Core

Fix

Fixed memory consumption when inside thousands of loops calling functions. Still under investigation.



Console

Fix

Console_ReadLine had CRLF at the end. Removed.



TBGL

Improve

Improved help file

Psch


TBGL

Improve

Improved memory handling

Psch

2006.08.25

thinAir

Add

Introduced new options to control whether console scripts should be executed in a separated shell. This is useful to see output results when scripts does not contain a waitkey or other stopping option at the end.



thinAir

Add

Undo/Redo on task bar



Core

Fix

Fixed an abnormal memory consumption when using string expressions. A temporary buffer used during string assignments was not cleared at the end of the operation doubling memory needed to perform the last operation



Core

Improve

Removed thinDict.dll library.

thinDict.dll was responsible for allocation/deallocation of all internal data (hash tables, data dictionaries, local and global variables, keywords, data types, ...). We have completely rewrite this code and incorporated directly inside thinCore.dll.



Core

Improve

Improved parsing compatibility: now SUB/END SUB are handled inside scripts. In reality all SUBs are considered internally as functions returning LONGs


2006.08.23

Core

Improve

Script execution speed increased by 5% to 15% especially for numeric expressions



Core

Fix

In some cases memory allocated for function local variable was not released


2006.08.22

Core

Improve

INSTR improved by adding a new optional parameter that will allow to search nthOccurience of the match string

Psch


Core

Add

Functions MIN$ and MAX$

Psch


Core

Add

Functions MIN and MAX

Psch


Core

Fix

Multiple IF / ELSEIF causing problems

Psch

2006.08.21

Core

Improve

SELECT CASE not handling direct UDT elements comparison. Now it will work on numeric and string elements.

Psch


TBGL

Improve

Petr has updated TBGL help file: thinbasic_tbgl.chm



TBGL

Improve

Petr has updated his thinBasic OpenGL integration library TBGL to version 0.1.7.0


2006.08.11

Core

Fix

An error in ELSEIF introduced in this preview version now fixed


2006.08.10

TBGL

Fix

Fixed GL include file plus some script examples

Psch


Core

Fix

Unary operation + not handled correctly



Core

Improve

DECLARE statement improved. thiNbasic now check presence of external library and function inside external library immediately before start parsing parameters. This will ensure function is ok before calling it. Also debug message box removed and a more clear runtime error will be generated.

Psch


SMTP

Fix

Fix SMTP_SetOption function. Fix SMTP_SendEMail function. Fix SMTP example

Dr_X

2006.08.09

Sample scripts

Add

..\SampleScripts\UI\CPU_Monitor\CPU_Monitor.tBasic

Simulate the CPU loads using a dialog simular to TaskManager CPU



Core

Add

SIZEOF function added


2006.08.07

Core

Improve

Some other internal code optimization and again some little speed improve.


2006.08.05

Core

Improve

More speed in script execution.


2006.07.31

COM

Improve

Improved error handling in order to avoid possible GPF in case of missed COM interface


2006.07.30

Core

Improve

JOIN$ has now two more optional parameters. You can now specify lower and upper array bounds.

Psch


Core

Fix

#MINVERSION fixed help. Added handling of comma and point number version separator.

Psch

2006.07.29

UI

Add

CONTROL_GetText

Psch


UI

Add

CONTROL_GetNumber

Psch


Core

Add

#MINVERSION pre-parsing directive will check thinBasic version against a passed version to ensure all the functionalities needed by your scripts are compatible.

Psch

2006.07.17

Core

Fix

Fixed VARIANT variables returning pointers to COM objects



COM

Add

Introduced new module: COM.

COM stands for Component Object Model.

The following is the list of functions inside COM module:

COM_CLSIDFromProgID

COM_ProgIDFromCLSID

COM_CLSIDFromString

COM_StringFromCLSID

COM_DisplayError

COM_IsEqualGUID

COM_IsEqualCLSID

COM_IsEqualIID

COM_CreateObject

COM_Release

COM_VariantInit

COM_VariantClear

COM_VariantCopy

COM_BuildVariant

COM_Execute

COM_QueryInterface

COM_Succeeded


2006.07.10

thinAir

Fix

Fixed video buffer correct cursor position when returning from an executed script and cursor was outside visible bounds.



thinAir

Add

Introduced a new way to check scripts in order to find unused functions. Use menu Tools\Utilities\Check Code


2006.07.01

OS

Add

We forgot to document some new OS module functions. Here they are:

OS_MessageBeep

OS_FlashWindow

OS_FatalAppExit

OS_GetCurrentThreadId

OS_GetCurrentProcessId


2006.06.30

Console

Add

We forgot to document some new Console functions. Here they are:

Console_SaveScreen

Console_RestoreScreen

Console_GenerateCtrlEvent

Console_GetCurrentFontIndex

Console_ScrollBuffer

Console_GetNumberOfMouseButtons

Console_SetScreenBufferSize

Console_CreateScreenBuffer
Console_SetActiveScreenBuffer

Console_EnableCtrlC

Console_DisableCtrlC

Console_Alloc

Console_Attach

Console_Free

Console_GetStdHandle

Console_SetStdHandle

Console_GetCP

Console_SetCP

Console_GetOutputCP

Console_SetOutputCP

Console_GetProgressBarChar

Console_SetProgressBarChar

Console_SetFileApisToANSI

Console_SetFileApisToOEM

Console_AreFileApisANSI


2006.06.27

thinAir

Fix

Some keywords syntax colored by mistake due to error in APP_ListEquates function.

Psch


Core

Fix

APP_ListEquates function was also listing script variables and not only equates



Core

Improve

When declaring variables using DIM or LOCAL or GLOBAL, data type can be omitted (AS clause). If no data type specified, VARIANT will be assumed. So:

 

Dim V1, V2, V(10)

 

is now a valid statement to be used to declare 3 VARIANT variables.



Core

Fix

Fixed execution of obfuscated scripts not working when thinBasic changes version.



Core

Fix

Fixed colon and semicolon delimiter presence inside scripts. Simply ignored for the moment.

Psch


Core

Add

VARIANTVT function