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

Version 1.6.0.0

Previous pageReturn to chapter overviewNext page

Release date: 2008.01.07

 

Date

Area/Module

What

Description

Thanks to:

2008.01.06

TBGL

Improved

TBGL module by Petr Schreiber improved with some internal minor problems fixed

Psch


Core

Improved

New Return keyword used to get back data from functions/subs will now be equivalent to:

Function = [ReturnValueIfPresent]

Exit Function

Psch

2008.01.05

UI

Add

PopUpMenu function added



Core

Fix

Due to new way to return a value from functions, recursive functions had problems in parsing open and close parentheses

Psch


UI

Improved

Many ListView_* functions revised in order to have defaulted values


2008.01.04

UI

Add

ListView_SetItemText function added



Core

Improved

To return a value from a function (other than using parameters passed BYREF), the only way was to assign the value to the keyword FUNCTION using something like:

'...

Function = AnyValue

'---

before exiting the function. Now you can also use the following methods:

'...

Return AnyValue

'...

or even

'...

FunctionName = AnyValue

'...

where FunctionName is the name of the function you are inside.

 

This enhancement will let code be more compatible with other languages allowing porting code between languages more easy to handle.



UI

Add

ListView_SetTextBkColor function added



UI

Add

ListView_GetTextBkColor function added



UI

Fix

Fixed ListView_InsertItem and ListView_SetItem. In some cases the wrong sequence of items was followed.


2008.01.03

UI

Add

ListView_DeleteItem function added



UI

Add

ListView_SetView function added



UI

Add

CONTROL ADD TREEVIEW ... statement added



UI

Add

ListView_SetBkImage function added


2008.01.02

UI

Add

ListView_EnsureVisible function added



Core

Improved

Function parameters can now be undefined (ie without AS ... clause). In those cases BYVAL VARIANT predefined type will be assumed.

For example:

Function AddMessage( _

                     hDlg    As Long  , _

                     Message As String, _

                     lObject As String, _

            Optional Details As String, _

                     P1, P2, P3)

 

Variable type for parameters P1, P2, P3 is not defined. thinBasic assumes BYVAL VARIANT. This assumption give great freedom on possible passing values.



UI

Add

ListView_SetBkColor function added



UI

Add

ListView_GetBkColor function added


2007.12.30

Core

Improved

Absolute UDT pointers can now be assigned not only using SETAT function but also directly with an UDT assignment just indicating the UDT name without any element name. Absolute UDT are the one declared using AT or PTR keywords.

Example:

'---MyUDT is an absolute UDT structure pointer: a logical

'---structure over imposed to some memory areas

Dim MyUDT As tUDT PTR

'---Because MyUDT is an absolute UDT, a direct assignment

'---is considered in reality a change to the pointer where

'---MyUDT points to

MyUDT = VARPTR(Something)



UI

Improved

GetMessage function improved with 2 more optional parameters: lCBCTL and lCBCTLMSG



thinAir

Improved

Changed some default parameters in thinAir INI file.

psch


UI

Add

ListView_SortItems function added



UI

Add

ListView_GetItemText function added



UI

Add

ListView_SetItem function added



UI

Add

ListView_GetNextItem function added



UI

Add

ListView_InsertItem function added



UI

Add

ListView_GetColumnWidth function added



UI

Add

ListView_GetExtendedStyle function added



UI

Add

ListView_SetExtendedStyle function added



UI

Add

ListView_DeleteAllItems function added



UI

Add

ListView_DeleteColumn function added



AV False positive

Fix

Recoded TCPUDP, PC, COMM modules to avoid false positive BitDefender anti-virus scan

cocoflop

2007.12.26

Core

Improved

| char can now be used in place of OR keyword. This improve porting code from other languages and code readability.



UI

Add

ListView_InsertColumn function added



UI

Add

ListView_GetItemCount function added



UI

Add

CONTROL ADD LISTVIEW ... statement added



Core

Add

OR statement can be specified also using | char


2007.12.21

UI

Add

Control_GetHandle function added


2007.12.05

thinAir

Add

New color option for UDT names

Kryton


thinAir

Add

New color option for FUNCTION and SUB names

Kryton

2007.12.04

UI

Add

COMBOBOX GET SELECTED feature added


2007.12.03

Core

Improved

FOR/NEXT improved with a new optional clause: [{WHILE | UNTIL} NumericLogicalExpression]

Randall


UI

Add

LISTBOX GET SELECTED feature added



LL

Add

LL_Next function added



LL

Add

LL_Prev function added


2007.12.01

UI

Add

DIALOG SET MINSIZE added


2007.11.29

UI

Improved

Multilevel EXIT FOR feature added



Core

Improved

All string constants, also called equates, can have an optional repetition number after the equate name indicating repetition.

For example:

$TAB(4) will be equivalent to REPEAT$(4, $TAB)

$CRLF(2) will be equivalent to $CRLF & $CRLF or equivalent to REPEAT$(2, $CRLF)


2007.11.25

MATH

Add

ATAN2 function added

MikeHart

2007.11.21

Core

Improved

SizeOf function is now able to handle UDT compexity



Core

Improved

VARPTR function is now able to handle UDT compexity



Core

Improved

Complex and nested UDT handling improved.


2007.11.18

TBGL

Improved

Improved TBGL version


2007.11.12

UI

Improved

COMBOBOX RESET ... now accepts a new array of items to substitute current items inside COMBOBOX



UI

Improved

LISTBOX RESET ... now accepts a new array of items to substitute current items inside LISTBOX

Sandy


Core

Fix

External functions (in 3rd party dll) declared to return INTEGER data type, always returned zero. Missing equate type.



Core

Fix

External functions (in 3rd party dll) declared to return STRING data type, always returned a blank string. Wrong pointer to string match


2007.11.09

thinAir

Fix

Possible GPF when invoking color dialog to set color syntax highlight



Core

Fix

Fixed a bug in some pointers handling that was preventing images to be loaded into UI dialogs(special cases)

Psch


Core

Improved

An interesting improvement in UDT handling: nested UDTs are now a reality

Nested UDTs are UDT inside UDT inside UDT and so on, any level, any complexity, any supported native data types. thinBasic is now able to handle those complex and useful structures almost in any situation. Still some aspects are to be covered and tuned but the main things are done. Please have a look inside thinBasic\SampleScripts\General\UDT for some scripts showing UDT potentialities.


2007.11.07

TBGL

Improved

Updated version of TBGL from Petr


2007.11.06

BIFF

Add

BIFF_SetCodePage function added

Psch


COM

Add

COM_GetErrorBehavior function added



COM

Add

COM_SetErrorBehavior function added



COM

Add

COM_GetActiveObject function added

Marcel

2007.11.02

Core

Improved

In DECLARE statement, return value can be indicated as pointer to something using PTR keyword.

An example ... AS DOUBLE PTR

Psch

2007.10.26

Core

Fix

Bundled executables produce runtime error or in some cases GPF

MikeHart

2007.10.26

Exe module

Add

EXE_GetMachineName function added



Exe module

Add

EXE_GetMachine function added



Exe module

Add

EXE_PE_Is64 function added



Exe module

Add

EXE_PE_Is32 function added



Exe module

Add

EXE_PE_IsManaged function added



Exe module

Add

EXE_PE_IsUPX function added



TBGL

New version

A big, big present from Petr Schreiber: new TBGL version 2.1.0

Huge set of new functions working with entities.

Psch


Core

Improved

In external functions interfaced with DECLARE statement only LONG or DWORD returned values were accepted by thinBasic core engine.

Now also the following returned data types are supported: BYTE, WORD, QUAD, SINGLE, DOUBLE, EXT

JackMcInerney

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com