PDA

View Full Version : thinBasic 1.7.6.0 just released



ErosOlmi
26-01-2009, 07:34
Dear thinBasic user,

we just released thinBasic programming language version 1.7.6.0

This new release is mainly a bug fix release for all the bugs reported from previous version but, as usual, we added something new.


Improved pre-parsing checking.
More checking will take place on scripts during pre-parsing phase. Unbalanced flow control structures will now be determined with more accuracy
Added a new UI control: Canvas.
See examples in \thinBasic\SampleScripts\UI\Canvas\ directory
Improved ViewPort control.
Quite complex User Interface scripts can be developed with ViewPorts
Improved MLGRID control.
Is is now possible to perform a basic interaction with MLGRID controls (get/put data), handle notification events, perform a basic layout setup. And this is just the beginning for this fantastic control generously donated by James Klutho to thinBasic project.
See example in \thinBasic\SampleScripts\UI\MLGRID\ directory
Added a new set of functions in UI module that mimic some Windows API functions. A new set of functions whose name start with "WIN_" followed by Windows API function name. Hope this will simplify a bit interaction with Windows Operating System API. If you think more functions are needed, let us know and we will consider your suggestion.
Fixed XPRINT module (GPF).


Regards
thinBasic team

_________________________________________________
Complete and detailed list of changes can be found in thinBasic on-line help at:
http://www.thinbasic.com/public/products/thinBasic/help/html/version_underdevelopment.htm

Download from official web site under Download section (http://www.thinbasic.com/index.php?option=com_jdownloads&Itemid=95).

Petr Schreiber
26-01-2009, 08:56
Hi Eros,

this is very good release, I thought it will be fixes only, but you again raised the bar :o
Fantastic job...

ErosOlmi
26-01-2009, 10:47
It would not be a "new release" without some new features ;)

ErosOlmi
26-01-2009, 10:57
Petr reported me a problem in script: \thinBasic\SampleScripts\UI\MLGRID\MLGRID.tBasic

In function cbDialog_Proc, there should be added:

LOCAL i, j AS LONG
otherwise some notification messages generate a runtime-error due to missing variable declaration.

I've updated the full thinBasic package again but, in case you have already downloaded thinBasic 1.7.6.0, it is not worth to download it again. Just make the above change.

Sorry
Eros

ErosOlmi
26-01-2009, 17:00
I'm sorry to say that Petr has found another little bug (MS should hire his asap for testing all new software :eusaclap: )
Function CANVAS_Line ... had a problem when used without STEP indication

Now it is fixed and current online thinBasic 1.7.6.0 is OK.

If you already downloaded and installed thinBasic 1.7.6.0 either download and install it again or download attached UI module and copy it into \thinbasic\Lib\ directory.

If you decide to download and install thinBasic again, there is a little bonus from Petr: a script showing Canvas drawing in immediate and buffered mode.
File is: \thinbasic\samplescripts\UI\Canvas\Buffering.tbasic

Sorry again for the inconvenience but I prefer to have fixed version online.
Regards
Eros

Petr Schreiber
26-01-2009, 17:32
And when we are talking bonuses...

...here comes first attempt to use MLGrid in similar way to MS Excel/OO Calc/Lotus 1-2-3.
That means using grid as sandbox, and evaluate expressions on the fly.

Grid rendered thanks to MLG, help text via Canvas, and expression evaluated using EVAL module.

Before changing Distance for example, make the B column wider by mousing in its header, so you can see the result.


Petr

Hmm, not sure I should apply to MS as betatester, as sample here was ... buggy :D Check better version here (http://community.thinbasic.com/index.php?topic=2413.msg18211#msg18211)

Michael Hartlef
26-01-2009, 21:47
Great job guys, as allways!

ErosOlmi
27-01-2009, 22:30
:oops: :oops: :oops: :oops: :oops: :grrrr:
_________________________________________________

I'm sorry to have to say I uploaded a new fixed thinBasic 1.7.6.0 again.

Catventure found a problem when using REPLACE$ (http://www.thinbasic.com/public/products/thinBasic/help/html/replace%24.htm) with the WITH clause. I didn't manage that WITH correctly during pre-parsing phase so, if present, thinBasic think one END WITH is missing generating a runtime error.

So, if you want latest fixed thinBasic, download it again. Otherwise you can survive unless you have such a REPLACE$ case.

Sorry again (hope this is the last time I have to write "sorry").
Eros

Michael Hartlef
27-01-2009, 22:41
Don't worry Eros, I rather see a fast fix and redownload then waiting for a fixed version. Thanks!